help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Declare 'octave_rand’ in a .oct file


From: babelproofreader
Subject: Declare 'octave_rand’ in a .oct file
Date: Tue, 31 Mar 2015 11:02:20 -0700 (PDT)

I'm trying to initialize a random matrix in a .oct file thus:-

octave_rand::distribution( "normal" ) ; octave_rand::matrix( num_hid ,
num_dims ) ;

but get "error: ‘octave_rand’ has not been declared" when I try to compile.
How do I declare this random matrix?



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Declare-octave-rand-in-a-oct-file-tp4669518.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]