This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[10pt]{article} | |
\usepackage[a4paper]{geometry} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage[spanish]{babel} | |
\usepackage{amsmath} | |
\usepackage{amsfonts} | |
\usepackage{amssymb} | |
\usepackage{graphicx} | |
\usepackage{caption} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef UTIME_INCLUDED | |
#define UTIME_INCLUDED | |
#include <stdint.h> | |
void | |
UT_Init(void); | |
int64_t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -------------------------------------------------------------------------------------- | |
* | |
* Example/library to save matrices to disk using matlab's file format and being able to | |
* load them from matlab. | |
* | |
* Only stores matrices of reals and double precision, but with minor changes could work | |
* with single precision or complex numbers. | |
* | |
* This was made following the matfile format documentation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _APP_H_ | |
#define _APP_H_ | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <assert.h> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is based on http://schellcode.github.io/webassembly-without-emscripten demos | |
clang --target=wasm32 -o a.wasm -nostdlib main.c | |
# Serve the index.html with a http server |