array operation question
| Date | 2015-04-26 13:29 |
| From | Gleb |
| Subject | array operation question |
Please could somebody explain me, why
i1 = 5
k1 linseg 0,p3,1
k2 = i1*k1
is OK, but
iA1[] fillarray 1,2,3,4
k1 linseg 0,p3,1
kA2[] = iA1*k1
is not OK. Csound says k[] = @. I think I understand what it means, but
isn't it a wrong behavior?
Thanks!
-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television
Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/array-operation-question-tp5741201.html
Sent from the Csound - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2015-04-26 13:42 |
| From | joachim heintz |
| Subject | Re: array operation question |
hi gleb -
i think one problem is that you did not initialize the array kA2. the line
kA2[] = iA1*k1
is not a valid initialization.
best -
joachim
Am 26.04.2015 um 14:29 schrieb Gleb:
> Please could somebody explain me, why
>
> i1 = 5
> k1 linseg 0,p3,1
> k2 = i1*k1
>
> is OK, but
>
> iA1[] fillarray 1,2,3,4
> k1 linseg 0,p3,1
> kA2[] = iA1*k1
>
> is not OK. Csound says k[] = @. I think I understand what it means, but
> isn't it a wrong behavior?
>
> Thanks!
>
>
>
> -----
> Gleb Rogozinsky, PhD
> Associated Professor
> Interactive Arts Department
> Saint-Petersburg University of Film and Television
>
> Deputy Director of Medialab
> Saint-Petersburg University of Telecommunications
> --
> View this message in context: http://csound.1045644.n5.nabble.com/array-operation-question-tp5741201.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2015-04-26 13:47 |
| From | Gleb |
| Subject | Re: array operation question |
| Attachments | None None |
Thank you, Joachim! So my question transforms to 2015-04-26 15:44 GMT+03:00 joachim-3 [via Csound] <[hidden email]>: hi gleb -
Gleb Rogozinsky, PhD
Associated Professor Interactive Arts Department Saint-Petersburg University of Film and Television Deputy Director of Medialab Saint-Petersburg University of Telecommunications View this message in context: Re: array operation question Sent from the Csound - General mailing list archive at Nabble.com. |