iitis / symmetrictensors.jl Goto Github PK
View Code? Open in Web Editor NEWFramework for symmetric tensors
License: Other
Framework for symmetric tensors
License: Other
Following changes to symmetric tensors access functions should be made:
getindex(st::SymmetricTensor, mulind...)
should return tensor element in the same as an Array
would.accesnotord(st::SymmetricTensor, mulind::Tuple)
rename to getblock(st::SymmetricTensor, mulind::Tuple)
.getblock(st::SymmetricTensor, mulind...)
.We have to decide weter setindex(st::SymmetricTensor, mulind...)
should change all symmetric tensor elements?
I am sorry I did not understand your code without reading the associated paper. May I ask if we can create fourth-order tensors in this package, especially the symmetric ones?
review and rewrite docs
The motivation for the block size is not clear, maybe you should add, that it is only performance relevant, has no effects on the result and that in your test cases the best value was 2?
See also:
iitis/Cumulants.jl#16
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
The tag name "0.2.0" is not of the appropriate SemVer form (vX.Y.Z).
cc: @lpawela
I made the mistake to use it in a performance critical part of the code, and noticed that pyramideindices
re-eval its body at every execution, making it very inefficient:
julia> @time pyramidindices(3, 3) ;
0.012201 seconds (23.48 k allocations: 1.190 MiB, 88.89% compilation time)
julia> @time pyramidindices(3, 3) ;
0.012611 seconds (23.48 k allocations: 1.190 MiB, 86.13% compilation time) # Compilation again
I am not quite sure how to solve the issue in general.
For my case I just cache the result with Memoization.jl and it is fine (I call it with the same arguments over and over, so I don't need to be very fancy).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.