image thumbnail

updated 1 year ago

Matlab mex support for Visual Studio 2013 (and mbuild) by Petter

Adds mex support for Microsoft’s latest compiler. (mex)

image thumbnail

updated 3 years ago

Inpainting (coherency sensitive hashing) by Petter

Image inpainting using coherency sensitive hashing (CSH) (inpainting)

patch_inpaint(Aorg,Morg, verbose, sigma)

test.m

image thumbnail

updated 4 years ago

INT64 arithmetic in MATLAB by Petter

Enables int64 Addition, subtraction, multiplication, division and modulus. (int64, addition, subtraction)

example_int64

abs(a)

abs(a)

image thumbnail

updated 5 years ago

Jacobi and Legendre symbol by Petter

JACOBI computes the Jacobi symbol (m/n), a generalization of the Legendre symbol. (number theory, jacobi symbol)

jacobi(m,n)

image thumbnail

updated almost 6 years ago

0-1 Knapsack by Petter

Solves the 0-1 knapsack problem with positive integer weights. (knapsack, dynamic programming, 01 knapsack)

knapsack_demo

knapsack(weights, values, W)

Contact us