Code Monkey home page Code Monkey logo

Comments (4)

cartazio avatar cartazio commented on September 16, 2024

Cool!
Theres some subtleties, you'll notice if you look at and stare a bit.

Just do the padded versions for now. the Blas routines only work on those versions. Its lapack that can use packed. (but yes, lets do those too!)

the docs on triangular mult, trmm and the analogous ones for hemm (hermitian mat mul) and symm (symmetric mat mult)

will help you understand a bit of whats going on

we'll also need to have types like the following

data Side = Left | Right

data Diagonal = Unit | NonUnit
data SDiagonal :: Diagonal -> * where 
     SUnit :: SDiagonal Unit 
     SNonUnit :: SDiagonal NonUnit

data UpperLower = Upper | Lower
data SUpperLower :: UpperLower ->* where
       SUpper :: SupperLower Upper
       SLower :: SupperLower Lower 

as you might guess, Diagonal and UpperLower will be singletons in the padded matrix formats along with the more obvious Row vs Column Major is, and the Left Right business is part of the mat mult api's themselves

from hblas.

cartazio avatar cartazio commented on September 16, 2024

I look forward to reviewing the patch! :)

from hblas.

jhenahan avatar jhenahan commented on September 16, 2024

I'll keep subtleties in mind. 😆 Thanks for the doc links.

from hblas.

cartazio avatar cartazio commented on September 16, 2024

holler and ask questions on this ticket if you get stuck or confused. I'm trying to have any "explanations" be logged on tickets so that tis easier to glue together less terrible docs that are searchable online later :)

from hblas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.