in reply to Why dies this work in matlab and not PDL?
Error in inner:Wrong dims#!/usr/bin/perl use PDL; use PDL::Matrix; $a = sequence(2,3); $b = sequence(3,3); $z= $a x $b; print $z;
May be you got confused of matrices of pdl. Cheersprint $A->getdim(0); #column print $A->getdim(1); #row ....and for the rest matrices
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why dies this work in matlab and not PDL?
by Angharad (Pilgrim) on Sep 20, 2005 at 15:36 UTC |