| That sounds correct...
Mike
On Tue, Nov 17, 2009 at 10:33 AM, Oeyvind Brandtsegg wrote:
> We use sparse matrixes and they can be quite large and quite sparse so
> I guess it will be most efficient with the modmatrix opcode.
> best Oeyvind
>
> 2009/11/17 Michael Gogins :
>> The linear algebra opcodes can do the adding and multiplying in one
>> operation, of course, and in several different ways. But they do not
>> use sparse matrices, so the operations are applied to each element of
>> the matrix, even if the operation should produce zero. So, if your
>> opcodes also do not use spare matrices, the linear algebra opcodes
>> should be at least as efficient. If your opcodes do use spare
>> matrices, then it would depend on the details. If you use a map or
>> hashtable for the matrices, then I would expect the linear algebra
>> operations to be more efficient for matrices that are only moderately
>> sparse. Large, quite sparse matrices would favor your opcodes in that
>> case.
>>
>> If your opcodes use some sort of iteration over linked lists or ragged
>> arrays, then your opcodes should be more efficient for just about any
>> sparse matrix.
>>
>> Regards,
>> Mike
>>
>> On Tue, Nov 17, 2009 at 9:06 AM, wrote:
>>> is it not the case that the linear algebra opcodes only work in doubles?
>>>
>>>
>>>
>>>> I think the existing linear algebra opcodes could do this efficiently.
>>>>
>>>> Mkg
>>>>
>>>> On Nov 17, 2009 8:24 AM, "Oeyvind Brandtsegg" wrote:
>>>>
>>>> It would be possible, but very slow when you have a large number of
>>>> modulators and parameters, and the routing should be flexible (all to
>>>> all). With modmatrix you will only spend CPU cycles multiplying and
>>>> adding modulators that are actually in use (can be few). For my
>>>> current use I have 32 modulators affecting 103 parameters, giving a
>>>> matrix size of 32x128. This used about 4-5%CPU when implemented in
>>>> csound code, regardless of how many modulators were actually used. If
>>>> all modulators are active, the CPU usage is more or less cut in half,
>>>> if only a few modulators are active CPU usage is close to nothing with
>>>> modmatrix.
>>>> best
>>>> Oeyvind
>>>>
>>>> 2009/11/17 Jonatan Liljedahl :
>>>>
>>>>> Oeyvind Brandtsegg wrote: > ... >> Also, I've made a new opcode together
>>>> with Thom Johansen, and I...
>>>> ------------------------------------------------------------------------------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and focus
>>>> on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now.
>>>> http://p.sf.net/sfu/bobj-july_______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>>> trial. Simplify your report design, integration and deployment - and focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |