Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
>> x = rand(2,4)
|
||||
0.707213207 0.275298961 0.396757763 0.232312312
|
||||
0.215619868 0.207078017 0.565700032 0.666090571
|
||||
>> sin(x)
|
||||
0.649717845 0.271834652 0.386430003 0.230228332
|
||||
0.213952984 0.205601224 0.536006923 0.617916954
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
x = rand(2,4);
|
||||
y = zeros(2,4);
|
||||
for (i in 1:2)
|
||||
{
|
||||
for (j in 1:4)
|
||||
{
|
||||
y[i;j] = sin( x[i;j] );
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
x = <<>>;
|
||||
for (i in 1:9)
|
||||
{
|
||||
x.[i] = rand();
|
||||
}
|
||||
|
||||
y = <<>>;
|
||||
for (i in members(x))
|
||||
{
|
||||
y.[i] = sin( x.[i] );
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue