• altavir

    altavir

    1 year ago
    Having visualization capabilities is a game-changer for developing mathematic software. This example shows the difference between cubic spline interpolation and original function (KMath, fully multiplatform as always).
    altavir
    Spationaute
    3 replies
    Copy to Clipboard
  • Spationaute

    Spationaute

    1 year ago
    A nice feature would be a nice way to build defined matrices. Like in python ([[1,2,3],[4,5,6],[7,8,9]]) or better like matlab by omitting the comma and using line returns. There is nice syntax for HTML and SVG... I don't understand why we wouldn't have something nice and clean also...
    Spationaute
    z
    +2
    56 replies
    Copy to Clipboard
  • Spationaute

    Spationaute

    1 year ago
    (Something like Mat { Vec {1,2,3}; Vec {4,5,6}; Vec {7,8,9}} could be close enough)
    Spationaute
    1 replies
    Copy to Clipboard
  • altavir

    altavir

    1 year ago
    @Zhelenskiy concerning equality, it is not an obvious thing. First, equality should be symmetrical, it means you can't override it without thinking thirst. Also, there is a problem with performace. For example, if you take larget matrices, the content equality could be greatly time-consuming. So overriding equals could lead to improper use. For now I decided not to use equals for comparison for structures. One of the reason is that we in some cases use inline classes that lack identity.
    altavir
    elizarov
    7 replies
    Copy to Clipboard
  • George Pandian

    George Pandian

    1 year ago
    Hi team, Glad I found this channel. Very basic question though I'd be happy if someone could help please. What is/are number/numbers? To visualise it , I am finding it difficult and the current symbols does not provide the meaning. Also if number are symbols, then symbols come from maths (arch, line etc....) Which is the superset or holds the number.
    George Pandian
    altavir
    5 replies
    Copy to Clipboard
  • h

    Hampus Londögård

    1 year ago
    Does
    multik
    support sparse arrays?
    h
    altavir
    +1
    18 replies
    Copy to Clipboard
  • breandan

    breandan

    1 year ago
  • h

    Hampus Londögård

    1 year ago
    Looking a little at Kmath, how am I supposed to use the
    LinearSpace
    like
    EjmlLinearSpaceFSCC
    . More exactly the extension-functions like
    Matrix<Float>.toEjml()
    I've tried to use the
    with (EjmlLinearSpaceFSCC) { code... }
    syntax but it doesn't work. Not sure how else I'd get those to work?
    h
    altavir
    10 replies
    Copy to Clipboard
  • altavir

    altavir

    1 year ago
    The latest PR brings to
    KMath
    finalized optimization and interpolation API as well as unique optimization technique called quasi-optimal weights method (https://arxiv.org/abs/physics/0604127). https://github.com/mipt-npm/kmath/pull/404. This feature finalizes the feature set for 0.3.0.
    altavir
    Ролан
    +1
    5 replies
    Copy to Clipboard
  • a

    Andrew

    1 year ago
    I was benchmarking some of my own kotlin code vs BigInteger to test performance. In doing so I eventually copied the BigInteger.java source to my own project so I could edit some things. Without any changes that was running about 2-3x slower at least for multiplication (same speed as my kotlin algorithms). Is there any explanation on why there is a speed difference using the library directly vs source code I imported from it?
    a
    altavir
    +1
    28 replies
    Copy to Clipboard