![]() |
Blitz Support : |
From: roger.grant (roger.grant_at_[hidden])
Date: 2003-10-10 16:09:47
I am currently using the M++ package on Windows. I am transferring my work to FreeBSD and the M++ is not easily changeable to go to a UNIX environment and is also of very old technology as compared to Bltz++. Anyway, M++ defines an Index as a class and I am able to define a special index which I will call a Leave-One-Out index. I can then transverse my array iteratively leaving one out.
Example:
Define a Vector of 100 items.
define a leave-one-out index which will be of size 99.
pass thru the Vector 100 times; each time leaving out a different point ( from 0 to 99)
This is VERY useful for working to develope pattern matching algorithms as you never use the point that you are trying to predict within the algorithm. My software may make 1000's of passes on the Vector/Array working to optimize the algorithm, to minimize the "error". The Vector/Array is only created once and only the "view" of the data is changed.
How can I accomplish this with Blitz++???
Thank You!
Roger Grant
PS: I am surprised that you do not use the blas libraries. Wouldn't this lead to a severe performance hit as most architectures have optimized assembler coded blas?