难以渐近(递归)函数(算法分析)(difficult asymptotic(recurrence) function (algorithm analysis))

我被困在这一个,我不知道如何解决它,无论我尝试我只是无法找到一种方式来玩这个功能,所以我可以用一种方式来表示它,让我可以找到ag (n),使得g(n)是T(n)∈Θ(g(n))

我遇到麻烦的功能是:

$ T(n)=4n^4T(\sqrt n) +(n^6lgn+3lg^7n)(2n^2lgn+lg^3n) $

另外,如果你可以 - 请你检查我是否在正确的道路上:

$ T(n)=T(n-1)+\frac{1}{n}+\frac{1}{n^2} $

解决它我尝试使用:$ T(n)-T(n-1)=\frac{1}{n}+\frac{1}{n^2} $ iff $ (T(n)-T(n-1))+(T(n-1)-T(n-2))+\ldots+(T(2)-T(1))=\frac{1}{n}+\frac{1}{n-1}+...+\frac{1}{n^2}+\frac{1}{\left(n-1\right)^2}+.... $ iff $ (T(n)-T(n-1))+(T(n-1)-T(n-2))+\ldots+(T(2)-T(1))=T(n)=T(1)+\sum_{k=2}^n\frac{1}{n}+\sum_{k=2}^n\frac{1}{n^2} $然后使用谐波级数公式。 但是我不知道如何继续并完成它并找到解决它的渐近边界

我希望在第二个我正确的道路上。 但是我不知道如何解决第一个问题。 如果我犯了什么错误,请告诉我正确的方法,以便改善我的错误。

非常感谢您的帮助

对不起,由于某种原因,数学在这里显示不正确


i am stuck on this one and i don't know how to solve it, no matter what i try i just can't find a way to play with the function so i can represent it in a way that will allow me to find a g(n), so that g(n) is T(n)∈Θ(g(n))

the function i am having trouble with is:

$T(n)=4n^4T(\sqrt n) +(n^6lgn+3lg^7n)(2n^2lgn+lg^3n)$

additionally, if you can - could you please check if i am on the right path with:

$T(n)=T(n-1)+\frac{1}{n}+\frac{1}{n^2}$

to solve it i tried to use: $T(n)-T(n-1)=\frac{1}{n}+\frac{1}{n^2}$ iff $(T(n)-T(n-1))+(T(n-1)-T(n-2))+\ldots+(T(2)-T(1))=\frac{1}{n}+\frac{1}{n-1}+...+\frac{1}{n^2}+\frac{1}{\left(n-1\right)^2}+....$ iff $(T(n)-T(n-1))+(T(n-1)-T(n-2))+\ldots+(T(2)-T(1))=T(n)=T(1)+\sum_{k=2}^n\frac{1}{n}+\sum_{k=2}^n\frac{1}{n^2}$ and then using the harmonic series formula. however i don't know how to continue and finish it and find the asymptotic boundaries to solve it

i hope that on the second i am on the right path. however i don't know how to solve the first one at all. if i've done any mistakes, please show me the right way so i can improve my mistakes.

thank you very much for your help

sorry that for some reason math doesn't show correctly here


原文:https://stackoverflow.com/questions/49990600
2022-03-05 12:03

满意答案

在第二行GetFileByServerRelativeUrl方法中,它需要文件的相对url,请查看下面的工作演示:

 ClientContext context = new ClientContext(@"http://sp2016/sites/test");

    Microsoft.SharePoint.Client.File file = context.Web.GetFileByServerRelativeUrl(@"/sites/test/Documents1/folder2/test.txt");

    ListItem lstitem = file.ListItemAllFields;
    context.Load(lstitem);
    context.ExecuteQuery();

    lstitem["Title"] = "Mercedes";
    lstitem.Update();
    context.ExecuteQuery();

在这里输入图像描述


In Line two GetFileByServerRelativeUrl method, it needs the file relative url, please check the working demo below:

 ClientContext context = new ClientContext(@"http://sp2016/sites/test");

    Microsoft.SharePoint.Client.File file = context.Web.GetFileByServerRelativeUrl(@"/sites/test/Documents1/folder2/test.txt");

    ListItem lstitem = file.ListItemAllFields;
    context.Load(lstitem);
    context.ExecuteQuery();

    lstitem["Title"] = "Mercedes";
    lstitem.Update();
    context.ExecuteQuery();

enter image description here

相关问答

更多

Microsoft.Sharepoint.dll的位置在哪里[关闭](Where is the Location of Microsoft.Sharepoint.dll [closed])

dll位于安装SharePoint的服务器上。 您不应该在桌面计算机上开发,使用SharePointserver创建一个虚拟机并在那里工作。 请参阅:http://weblogs.asp.net/erobillard/archive/2007/02/23/build-a-sharepoint-development-machine.aspx The dll is on the server where you installed SharePoint. You should not develop...

C# - 将文件作为附件添加到Microsoft.SharePoint.Client.ListItem(SharePoint 2010)(C# - Add a File as Attachment to Microsoft.SharePoint.Client.ListItem (SharePoint 2010))

最后我开始工作了! 问题是在配置文件App.Config ,端点Adress显式引用了Site。 “配置”文件的一部分: <system.serviceModel> <bindings> <basicHttpsBinding> <binding name="ListsSoap"> <security> <transport clientCredentialType="Ntlm" proxyCredentialType="Ntlm" /> </se...

Sharepoint:哪个dll包含Microsoft.SharePoint.SPTemplateFileType(Sharepoint: which dll holds Microsoft.SharePoint.SPTemplateFileType)

无法工作,因为您使用的“添加”方法不是带有两个参数的方法。 这是Files.Add,它只接受一个参数,而您认为正在使用的是SPFileCollection.Add。 不知道如何制作代码,所以你使用第二个,而不是在实际的服务器上。 Using the information from this project and combining it with this answer, I've put together the following code to send contents to Shar...

Microsoft.SharePoint.Client联机字段类型映射(Microsoft.SharePoint.Client Online FieldType Mapping)

服务器对象模型和.NET客户端对象模型是不同的。 如果您想将值推入SharePoint Online列表,我建议您使用Pnp-PowerShell来实现它。 附加PnPListItem 关于字段类型,请检查来自GetField的代码。 如果您不想使用Pnp-PowerShell,则需要将服务器对象模型代码转换为客户端对象模型代码。 Server Object Model and .NET Client Object Model are different. If you want to push ...

使用C#更改文件的Microsoft Sharepoint字段值?(Changing Microsoft Sharepoint fieldvalues for files with C#?)

在第二行GetFileByServerRelativeUrl方法中,它需要文件的相对url,请查看下面的工作演示: ClientContext context = new ClientContext(@"http://sp2016/sites/test"); Microsoft.SharePoint.Client.File file = context.Web.GetFileByServerRelativeUrl(@"/sites/test/Documents1/folder2/tes...

C#无法加载文件或程序集'Microsoft.SharePoint.Library'(C# Could not load file or assembly 'Microsoft.SharePoint.Library')

如果您使用的是Sharepoint dll,它只会在安装了Sharepoint的计算机上运行。 即使您设法破解它并使其起作用,您可能会违反许可协议。 If you are using sharepoint dll's it will only work on a machine with sharepoint installed. Even if you managed to hack it and get it to work, you would probably be breaking a ...

C#将Microsoft.Sharepoint.Client.FieldUserValue转换为Microsoft.Sharepoint.Cliend.User(C# convert Microsoft.Sharepoint.Client.FieldUserValue to Microsoft.Sharepoint.Cliend.User)

以下示例演示如何从FieldUserValue对象获取User 对象 : var list = ctx.Web.Lists.GetByTitle(listTitle); var item = list.GetItemById(itemId); ctx.Load(item); ctx.ExecuteQuery(); var author = (Microsoft.SharePoint.Client.FieldUserValue) item["Author"]; var authorUser = c...

从提供商托管应用获取发布网页上的sharepoint内容字段的值(Get the value of a sharepoint content field on a publishing page from a provider hosted app)

正确的代码是 List list = clientContext.Web.Lists.GetByTitle("Pages"); ListItem item = list.GetItemById(7020); clientContext.Load(list); clientContext.Load(item, p => p["QP_Question"]); clientContext.ExecuteQuery(); ViewBag.Question = Convert.ToString(item["...

如何在Visual Studio中访问Microsoft.SharePoint(How to get access to Microsoft.SharePoint in Visual Studio)

如果您在服务器上本地运行,则只能引用Microsoft.SharePoint.dll。 如果您想远程访问SharePoint,则必须使用能够连接到SharePoint的客户端技术。 这可以是: CSOM(作为nuget包提供 ,取决于SharePoint的目标版本) REST API,它不需要任何第三方库 旧学校asmx WebService 根据您的需要,第一个通常是最简单的。 You can only reference Microsoft.SharePoint.dll if you run ...

Microsoft Office Document显示Sharepoint URL而不是Local(Microsoft Office Document shows Sharepoint URL instead of Local)

根据这篇文章 ,可以在这个多字符串注册表值中查找已同步的文件夹: HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common \Internet\LocalSyncClientDiskLocation 鉴于您的本地路径和SharePoint URL看起来像 C:\Users\User\SharePoint\Library - Documents\Folder\SubFolder\Document.pptx和https://***.sharepoi...

相关文章

更多

两种js function 声明方式

http://helephant.com/2012/07/14/javascript-function ...

Solr官方文档系列——Text Analysis

Text fields are typically indexed by breaking the t ...

计算机病毒及其防治 Computer Virus Analysis and Antivirus

Episode I 计算机病毒的历史 FUDAN UNIVERSITY 3 ...

function-Oceanus配置说明

作用: 作为 table 的子节点,用于声明路由规则 属性: ref – Function 类型的 b ...

zz Data Analysis Process

An interesting article....easy to understand. Summa ...

企业级搜索引擎Solr 第二章 Schema和文本分析(Schema and Text Analysis)[2]

文章转载自网易博客,原文地址:http://quweiprotoss.blog.163.com/blo ...

Solr参数(Analysis Collection Common CoreAdmin)

一.Analysis 1.analysis.query:Holds the query to be a ...

java.lang.NoClassDefFoundError: org/apache/lucene/analysis/synonym/SynonymFilter

2013-6-24 13:28:51 org.apache.solr.common.SolrExcep ...

error C2668: 'M' : ambiguous call to overloaded function

以下是代码: #include&lt;iostream&gt;using namespace std ...

关于字符串解析与递归算法的问题

数据库表wbs wbs_id wbs_code parent_wbs_id ----------- ...

最新问答

更多

获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)

我用Google搜索了一个解决方案。 “EnumDisplayModeProvider”是我自己设置网站的各种模式的枚举。 public EnumDisplayModeProvider GetDisplayModeId() { foreach (var mode in DisplayModeProvider.Instance.Modes) if (mode.CanHandleContext(HttpContext)) {

如何通过引用返回对象?(How is returning an object by reference possible?)

这相对简单:在类的构造函数中,您可以分配内存,例如使用new 。 如果你制作一个对象的副本,你不是每次都分配新的内存,而是只复制指向原始内存块的指针,同时递增一个也存储在内存中的引用计数器,使得每个副本都是对象可以访问它。 如果引用计数降至零,则销毁对象将减少引用计数并仅释放分配的内存。 您只需要一个自定义复制构造函数和赋值运算符。 这基本上是共享指针的工作方式。 This is relatively easy: In the class' constructor, you allocate m

矩阵如何存储在内存中?(How are matrices stored in memory?)

正如它在“熵编码”中所说的那样,使用Z字形图案,与RLE一起使用,在许多情况下,RLE已经减小了尺寸。 但是,据我所知,DCT本身并没有给出稀疏矩阵。 但它通常会增强矩阵的熵。 这是compressen变得有损的点:输入矩阵用DCT传输,然后量化量化然后使用霍夫曼编码。 As it says in "Entropy coding" a zig-zag pattern is used, together with RLE which will already reduce size for man

每个请求的Java新会话?(Java New Session For Each Request?)

你是如何进行重定向的? 您是否事先调用了HttpServletResponse.encodeRedirectURL()? 在这里阅读javadoc 您可以使用它像response.sendRedirect(response.encodeRedirectURL(path)); The issue was with the path in the JSESSIONID cookie. I still can't figure out why it was being set to the tomca

css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)

我认为word-break ,如果你想在一个单词中打破行,你可以指定它,这样做可以解决问题: .column { word-break:break-all; } jsFiddle演示。 您可以在此处阅读有关word-break属性的更多信息。 I think word-break, with which you can specify if you want to break line within a word, will do the trick: .column { word-break

无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)

我认为您忘记在分类时间内缩放输入图像,如train_test.prototxt文件的第11行所示。 您可能应该在C ++代码中的某个位置乘以该因子,或者使用Caffe图层来缩放输入(请查看ELTWISE或POWER图层)。 编辑: 在评论中进行了一次对话之后,结果发现在classification.cpp文件中错误地删除了图像均值,而在原始训练/测试管道中没有减去图像均值。 I think you have forgotten to scale the input image during cl

xcode语法颜色编码解释?(xcode syntax color coding explained?)

转到: Xcode => Preferences => Fonts & Colors 您将看到每个语法高亮颜色旁边都有一个简短的解释。 Go to: Xcode => Preferences => Fonts & Colors You'll see that each syntax highlighting colour has a brief explanation next to it.

在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)

你考虑过第三方拼写检查吗? 您可以将在C#中开发的自定义WinForms控件插入访问数据库吗? VB6控件怎么样? 如果你能找到一个使用第三方库进行拼写检查的控件,那可能会有效。 Have you considered a third party spell checker? Can you insert a custom WinForms controls developed in C# into an access database? What about a VB6 control? If

从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)

我有同样的问题,因为我在远程服务器上有两个图像,我需要在每天的预定义时间复制到我的本地服务器,这是我能够提出的代码... try { if(@copy('url/to/source/image.ext', 'local/absolute/path/on/server/' . date("d-m-Y") . ".gif")) { } else { $errors = error_get_last(); throw new Exception($err

从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))

我不确定我完全明白你在说什么。 你能编辑你的帖子并包含你正在做的Subversion命令/操作的特定顺序吗? 最好使用命令行svn客户端,以便容易为其他人重现问题。 如果您只是想获取文件的旧副本(即使该文件不再存在),您可以使用如下命令: svn copy ${repo}/trunk/moduleA/file1@${rev} ${repo}/trunk/moduleB/file1 其中${repo}是您的存储库的URL, ${rev}是您想要的文件的版本。 这将恢复该文件的旧版本,包括最高版本