This file contains 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 could have indeed been written in a much neater manner.. the direct variable assignment is something I never | |
* enjoyed doing but I just wanted to get things to work without alot of boilerplate code. | |
* | |
* No, I did not approach this challenge using any vector list, would've been easier. Same goes for one-dimensional | |
* arrays.. | |
*/ | |
public class Stack { | |
Element top; | |
int size; |
This file contains 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
__author__ = 'Juxhin Dyrmishi Brigjaj' | |
import sys | |
import math | |
import random | |
import argparse | |
def parse_args(): | |
parser = argparse.ArgumentParser(description='A naive Kohonen-Grossberg Counterpropogation Network in Python') |
This file contains 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
-0.82 | 0.49 | |
---|---|---|
-0.77 | 0.47 | |
-0.73 | 0.55 | |
-0.71 | 0.61 | |
-0.69 | 0.59 | |
-0.68 | 0.60 | |
-0.66 | 0.58 | |
-0.61 | 0.69 | |
0.28 | 0.96 | |
0.31 | 0.95 |
This file contains 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
474.0 | 604.0 | |
---|---|---|
412.0 | 362.0 | |
442.0 | 000.0 | |
283.0 | 384.0 | |
529.0 | 844.0 | |
535.0 | 101.0 | |
131.0 | 721.0 | |
368.0 | 923.0 | |
940.0 | 967.0 | |
666.0 | 244.0 |
This file contains 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
hamming_code_simd::hamming::fast_parity (src/hamming.rs:66): | |
eor x8, x0, x0, lsr, #1 | |
eor x8, x8, x8, lsr, #2 | |
eor x8, x8, x8, lsr, #4 | |
eor x8, x8, x8, lsr, #8 | |
eor x8, x8, x8, lsr, #16 | |
lsr x9, x8, #32 | |
eor w8, w9, w8 | |
and x0, x8, #0x1 | |
ret |