view paste/paste.5734 @ 7415:588ebe6ba2d8

<b_jonas> learn norm is the name of the functions in the Eigen and opencv libraries to compute the 2-norm of a vector, and the name of the function in C++ to compute the squared 2-norm of a complex number
author HackBot
date Sun, 17 Apr 2016 20:17:21 +0000
parents 6568d45e3294
children
line wrap: on
line source

#!/bin/bash
if [ ! "$1" ]
then
    PASTE=-
else
    PASTE="$1"
fi

PASTENUM="$RANDOM"

mkdir -p $HACKENV/paste

echo 'http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/paste/paste.'"$PASTENUM"
cat "$PASTE" > $HACKENV/paste/paste."$PASTENUM"