[Top][All Lists]

[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:
Sent from the Octave - General mailing list archive at

reply via email to

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