Skip to content

Instantly share code, notes, and snippets.

// This is licensed under the MIT
// Copyright 2020 Alexander Hudek
// https://opensource.org/licenses/MIT
package linear
import (
"fmt"
"gonum.org/v1/gonum/mat"
)
### Keybase proof
I hereby claim:
* I am akhudek on github.
* I am akhudek (https://keybase.io/akhudek) on keybase.
* I have a public key whose fingerprint is FB99 5E8F 597E 1429 3092 C65B 6FBB 7F9D D8B8 83CA
To claim this, I am signing this object:
@akhudek
akhudek / sample.c
Created September 1, 2013 21:30
Updated searn sequence library example.
#include <stdio.h>
typedef short char16_t;
#define bool int
#define true (1)
#define false (0)
#include "vwc.h"
VW_EXAMPLE read_and_learn( VW_HANDLE vw, const char *s ) {
VW_EXAMPLE example = VW_ReadExampleA(vw, s);
@akhudek
akhudek / sample.c
Created August 31, 2013 22:05
Searn library interface example.
#include <stdio.h>
typedef short char16_t;
#define bool int
#define true (1)
#define false (0)
#include "vwc.h"
VW_EXAMPLE read_and_learn( VW_HANDLE vw, const char *s ) {
VW_EXAMPLE example = VW_ReadExampleA(vw, s);