2013.10.27 11:36 AM
2013.10.27 02:45 PM
Say I have a square matrix of numbers assigned to A.--
How would I index A so all rows except A[0] could have an operation applied to it?
Also, say I have an list, v, the length of A's vectors, how would I create a new matrix, X, which contains the first row of A multipled by each constant in the list?
i.e.
X[0] = A[0]*v[0];
X[1] = A[0]*v[1];.
...
X[n] = A[0]*v[n];
I want to do this without a loop, working with an arbitrarily-sized n.
Any help would be appreciated.
Thanks.
You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to personal-kdbplus+unsubscribe@googlegroups.com.
To post to this group, send email to personal-kdbplus@googlegroups.com.
Visit this group at http://groups.google.com/group/personal-kdbplus.
For more options, visit https://groups.google.com/groups/opt_out.
2013.10.28 03:32 AM
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.