Conversation
Add vector_print function and update test data for Ising machine SB
…ization and update test cases for energy validation
…gn function and update test cases to use integer types for matrices and vectors
|
Relate to #370 (comment)
@anyzelman is there any better option here? |
|
I have a general question, operator, monoid and semiring are passed in the argument list, is there any good reason why they are not template arguments? I ask this because I feel that (element-wise) operators like abs(x)<1 could be more simply defined in a more structured template-base approach.. @anyzelman |
…ng_machine_sb.cpp
… machine test to include verification against reference solutions
We had this a long long time ago, but found it was easier to program if we could instantiate these algebraic structures and just pass them around, leaving it to C++ to infer the abstract (algebraic) types. I'm not sure if I get your comment re abs though, could you elaborate (maybe in a separate issue)? |
|
Attached this to milestone 0.9 btw (so blocked by 0.8) |
ALP implementation of Ising Machine - Simulated Bifurcation