难以渐近(递归)函数(算法分析)(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 iti 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
满意答案
在第二行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();
相关问答
更多Microsoft.Sharepoint.dll的位置在哪里[关闭](Where is the Location of Microsoft.Sharepoint.dll [closed])
C# - 将文件作为附件添加到Microsoft.SharePoint.Client.ListItem(SharePoint 2010)(C# - Add a File as Attachment to Microsoft.SharePoint.Client.ListItem (SharePoint 2010))
Sharepoint:哪个dll包含Microsoft.SharePoint.SPTemplateFileType(Sharepoint: which dll holds Microsoft.SharePoint.SPTemplateFileType)
Microsoft.SharePoint.Client联机字段类型映射(Microsoft.SharePoint.Client Online FieldType Mapping)
使用C#更改文件的Microsoft Sharepoint字段值?(Changing Microsoft Sharepoint fieldvalues for files with C#?)
C#无法加载文件或程序集'Microsoft.SharePoint.Library'(C# Could not load file or assembly 'Microsoft.SharePoint.Library')
C#将Microsoft.Sharepoint.Client.FieldUserValue转换为Microsoft.Sharepoint.Cliend.User(C# convert Microsoft.Sharepoint.Client.FieldUserValue to Microsoft.Sharepoint.Cliend.User)
从提供商托管应用获取发布网页上的sharepoint内容字段的值(Get the value of a sharepoint content field on a publishing page from a provider hosted app)
如何在Visual Studio中访问Microsoft.SharePoint(How to get access to Microsoft.SharePoint in Visual Studio)
Microsoft Office Document显示Sharepoint URL而不是Local(Microsoft Office Document shows Sharepoint URL instead of Local)
相关文章
更多两种js function 声明方式
Solr官方文档系列——Text Analysis
计算机病毒及其防治 Computer Virus Analysis and Antivirus
function-Oceanus配置说明
zz Data Analysis Process
企业级搜索引擎Solr 第二章 Schema和文本分析(Schema and Text Analysis)[2]
Solr参数(Analysis Collection Common CoreAdmin)
java.lang.NoClassDefFoundError: org/apache/lucene/analysis/synonym/SynonymFilter
error C2668: 'M' : ambiguous call to overloaded function
关于字符串解析与递归算法的问题
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!