octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61977] strange behaviour


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #61977] strange behaviour
Date: Wed, 2 Feb 2022 09:34:32 -0500 (EST)

Follow-up Comment #2, bug #61977 (project octave):

Also, to the original poster, do you intend to compute A(i,j)^128 for each
element of A or do you really mean to multiply A by itself 127 times?  If you
want the element-by-element operation, use the .^ operator in Octave:  A .^
128

Also, if your matrix is sparse, consider using a sparse array instead of a
full matrix so that you only store the non-zero elements.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61977>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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