Search results

54 articles found matching your search request ‘GEP’…

  • …GeneXproTools with the next mini-release): func gepRamp1(x float64) float64 { … 0.0     } } func gepRamp2(x float64) float64 { … x     } } func gepRamp3(x float64) float64 { … -x     } } func gepRamp4(x float64) float64 { … 0.0     } } func gepStep1(x float64) float64 { …

    Posted , Author

  • Posted , Author

  • …the All Gates Grammar I just had to replace the gepXor function "gepXor(x0,x1)" with the built-in XOR … functions NOT, AND, NAND, XOR, and NXOR: package gepModel func gepModel(d []bool) bool { … := false     y = gepNand(gepNand(d[3],d[2]),((!(d[0])) && … gepNand(d[4],d[1])))     y = y … && (!((gepNxor(d[1],(!(d[0]))) && …

    Posted , Author

  • …Constants. For example, in Go we have "package gepModel{CRLF}{CRLF}" as the opening statement; as … the header we have "{CRLF}{CRLF}func gepModel(d []bool) bool {"; the random constants as … basic Boolean functions NOT, AND, and OR: package gepModel func gepModel(d []bool) bool { … the use of helper functions in the code: package gepModel func gepModel(d []bool) bool { … d[0]))     y = y || (gepNor(gepNor(d[2],d[3]),gepNor(d[0],d[1])) && d[4]) …

    Posted , Author

  • …(NOT, AND, OR) plus NAND and NOR: package gepModel func gepModel(d []bool) bool { … := false     y = gepNand(d[1],gepNor(d[3],d[0]))     y = y … || d[0])     y = y && gepNand(d[0],gepNor(d[1],d[4])) …     y = y && (gepNand(d[1],d[0]) || d[5]) …     return y } func gepNand(x, y bool) bool { …

    Posted , Author

  • …using just NAND gates as building blocks: package gepModel func gepModel(d []bool) bool { … = d[2]     y = gepNand(y,d[1])     y = … gepNand(y,d[2])     y = gepNand(y,gepNand(d[1],d[3])) …     y = gepNand(y,gepNand(d[0],d[0]))     y = … gepNand(y,gepNand(d[0],gepNand(gepNand(gepNand(d[1],d[1]),d[4]), …

    Posted , Author

  • …code, as they both give the same output): package gepModel func gepModel(d []bool) bool { … = d[1]     y = gepNor(y,d[5])     y = … gepNor(y,d[5])     y = gepNor(y,gepNor(d[1],d[4]))     y … = gepNor(y,gepNor(d[0],d[0]))     y = … gepNor(y,gepNor(d[0],gepNor(gepNor(gepNor(d[0],d[1]),d[3]), …

    Posted , Author

  • …function using just NOT, AND, and OR: package gepModel func gepModel(d []bool) bool { … and NOR gates: The minimal NAND circuit: package gepModel func gepModel(d []bool) bool { … = gepNand(gepNand(d[2],d[1]),gepNand(d[0],gepNand(gepNand(d[0],d[1]), …         gepNand(d[2],d[0]))))     return … y } func gepNand(x, y bool) bool { …

    Posted , Author

  • …circuit for the 3-Majority function: package gepModel func gepModel(d []bool) bool { … our new Go Reed-Muller Grammar, we get: package gepModel func gepModel(d []bool) bool { …

    Posted , Author

  • …was designed using just NOT, AND, and OR gates: gepModel <- function(d) { … with our new MUX Grammar for the R language: gepModel <- function(d) { … FALSE     y <- gepMux(gepMux(d[6],d[6],d[1]),gepMux(d[6],d[6],d[1]),d[2]) …     y <- gepMux(y,gepMux(gepMux(d[5],d[5],d[1]), …          gepMux(d[5],d[5],d[1]),(!(d[2]))),y) …

    Posted , Author

← ← Prev Next → →