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

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

[Octave-bug-tracker] [bug #61312] Extending isprime() with Miller-Rabin


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61312] Extending isprime() with Miller-Rabin test
Date: Thu, 28 Oct 2021 06:16:22 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36 Edg/95.0.1020.30

Follow-up Comment #19, bug #61312 (project octave):

@Arun: I'm not sure I can correctly follow the changes you describe.
Could you please upload the wip patch (even if it doesn't do the correct thing
currently)?

I would have thought, you could use a boolNDArray to collect the results of a
C++ function `isprimelarge` (which returns a bool) and return only one single
output argument from the DEFUN `__isprimelargevector__`.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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