query
stringlengths
10
2k
document
stringlengths
20
51.2k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Returns True if self is completely right of other. >>> intrange(5, 10).right_of(intrange(1, 5)) True >>> intrange(1, 10).right_of(intrange(1, 5)) False
def right_of(self, other): return other.left_of(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def is_right_of(self, other):\n return other.is_left_of(self)", "def is_to_the_right(self, other_rect):\n distance = other_rect.distance_x(self.rect)\n return distance != inf and distance > 0", "def left_of(self, other):\n\n if not self or not other:\n # Handle empty rang...
[ "0.7298245", "0.71553475", "0.64848286", "0.60213023", "0.59567744", "0.59567744", "0.5923239", "0.58402175", "0.58276457", "0.5816879", "0.56978756", "0.56188595", "0.5615922", "0.55958194", "0.5580632", "0.55770713", "0.5576004", "0.55520785", "0.553764", "0.5502264", "0.54...
0.6479748
3
Construct an artificial neural network classifier
def __init__(self, gamma, layer_sizes, num_hidden, epsilon=None, max_iters=None, schema=None, **_): # Save parameters. self._gamma = gamma self._num_layers = layer_sizes self._num_hidden = num_hidden if epsilon is None: self._epsilon = 0 else:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __init__(self, hidden_nodes = 30):\n self.classifier_neural_net = buildNetwork(8, hidden_nodes, 12, bias=True, hiddenclass=TanhLayer)\n\n # Initializing dataset for supervised regression training\n self.data_sets = SupervisedDataSet(8, 12)\n\n # classification_trainer uses backpropagation supervise...
[ "0.7518957", "0.7484636", "0.7005293", "0.696065", "0.6917872", "0.68527716", "0.679466", "0.67793715", "0.6755368", "0.67018884", "0.66944426", "0.6684786", "0.6628259", "0.661988", "0.66192394", "0.6610154", "0.6580365", "0.6566168", "0.6560648", "0.65600884", "0.65598816",...
0.0
-1
Return the gradient for a hidden layer.
def _gradient_hidden(self, X, outs, dL_next, W_next, sample_weight): ## SAMPLE WEIGHT IS UNUSED, SINCE THE ASSIGNMENT ONLY REQUIRES A SINGLE ## LAYER k, n, m, p = X.shape[0], X.shape[1], outs.shape[1], W_next.shape[1] # The formula is: # dl/dw = h(n_j) (1 - h(n_j)) x_{ji} ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def calc_hidden_gradient(self, next_layer):\n dow_sum = self.sum_derivatives_of_weight(next_layer)\n self.gradient = dow_sum * self.transfer_function_derivative(self.output_val)", "def gradient(self):\n return self.grad", "def get_gradient(self):\n return self.gradient", "def _gra...
[ "0.782992", "0.72611517", "0.7232186", "0.68838805", "0.6721865", "0.66848356", "0.66470677", "0.6616811", "0.65341425", "0.6465706", "0.6450671", "0.644693", "0.6407162", "0.6350499", "0.6343126", "0.6310199", "0.6309895", "0.62973726", "0.6287152", "0.6244234", "0.62374365"...
0.7222375
3
DataLibManager.get_valid_codes Obtain valid residue codes
def get_valid_codes(self, mol_type): if mol_type == 'na': codes = self.residue_codes['dna'] + self.residue_codes['rna'] else: codes = self.residue_codes[mol_type] return codes
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def codes(self):\n return self._codes", "def get_ins_codes(self) -> List[Residue]:\n return [\n res\n for res in self.st.get_residues()\n if mu.has_ins_code(res)\n ]", "def allowed_success_codes(self) -> Sequence[int]:\n return pulumi.get(self, \"all...
[ "0.61277515", "0.6093148", "0.5822438", "0.5736936", "0.5679391", "0.56191504", "0.5591085", "0.55577266", "0.5534632", "0.55319315", "0.55307215", "0.5514839", "0.55011046", "0.55009854", "0.55000573", "0.5500001", "0.5499738", "0.5468931", "0.5464123", "0.5428704", "0.53788...
0.74797446
0
DataLibManager.get_mutation_map Get the complete map of mutation rules per residue.
def get_mutation_map(self): mut_rules = {} for rcode in self.residue_data: if 'mutation_rules' in self.residue_data[rcode]: mut_rules[rcode] = self.residue_data[rcode]['mutation_rules'] mut_rules[rcode]['side_atoms'] = self.residue_data[rcode]['side_atoms'] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_mutationpoints(self):\n\n return self.mutationpoint", "def build_perm_map(self):\n\tself.perm_map = get_perm_map()", "def new_mutation_data_from_genemap(self, genes_mutatedPatient):\n\t\tpatientID_mutatedGenes = dict([(ty, dict()) for ty in self.tumor_tys])\n\t\tpatients = set()\n\t\tfor t in se...
[ "0.5982333", "0.58630246", "0.56068665", "0.5258074", "0.51842105", "0.5178229", "0.51076823", "0.50886154", "0.5044975", "0.50217354", "0.50054145", "0.5001071", "0.49652416", "0.48944762", "0.4887652", "0.4872138", "0.48490605", "0.48470142", "0.48470142", "0.48391712", "0....
0.8376354
0
Determine if x is a number (float, int, etc)
def is_number(x): return isinstance(x,numbers.Number)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def isnumber(x):\n try:\n float(x)\n return True\n except:\n return False", "def isnum(x):\r\n for T in int, float, complex:\r\n if isinstance(x, T):\r\n return 1\r\n \r\n return 0", "def is_number(value):\n return is_int(value) or is_float(value)", "d...
[ "0.87925833", "0.84242195", "0.8349872", "0.8044604", "0.7996413", "0.79699135", "0.7897662", "0.78713775", "0.78540325", "0.78540325", "0.78540325", "0.7797358", "0.7795292", "0.7795219", "0.77631605", "0.77631605", "0.77594197", "0.77594197", "0.77594197", "0.77594197", "0....
0.874339
1
Splits (or cuts) streamlines into 2 random segments. Returns both segments as independent streamlines, so the number of output streamlines is higher than the input. Note. Data_per_point is cut too. Data_per_streamline is copied for each half. Params
def split_streamlines(sft: StatefulTractogram, rng: np.random.RandomState, split_ids: np.ndarray = None, min_nb_points: int = 12): if split_ids is None: split_ids = range(len(sft.streamlines)) min_final_nb_points = np.floor(min_nb_points / 2) all_streamlines = [] all_dpp ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sample_streamlines(udata, xx, yy, zz, npt=1,\n xmin=0, xmax=None, ymin=0, ymax=None, zmin=0, zmax=None,\n t0=0, t1=None, dt=0.01):\n\n def create_a_streamline(x0, y0, z0, funcs, xx, yy, zz,\n dt=0.01, nmax=1000,\n ...
[ "0.59357226", "0.57174605", "0.5693035", "0.56654406", "0.56065553", "0.556169", "0.55061543", "0.5490027", "0.54663044", "0.53851", "0.5380648", "0.5365394", "0.53271836", "0.52505857", "0.52304024", "0.52075666", "0.518911", "0.51531446", "0.51429", "0.51413745", "0.5132171...
0.7242501
0
Load Pretrained VGG Model into TensorFlow.
def load_vgg(sess, vgg_path): vgg_tag = 'vgg16' tf.saved_model.loader.load(sess, [vgg_tag], vgg_path) graph = tf.get_default_graph() # for n in tf.get_default_graph().as_graph_def().node: # print(n.name) # for op in graph.get_operations(): # print(op.name) node_names = ['imag...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def load_vgg(sess, vgg_path):\n vgg_tag = 'vgg16'\n vgg_input_tensor_name = 'image_input:0'\n vgg_keep_prob_tensor_name = 'keep_prob:0'\n vgg_layer3_out_tensor_name = 'layer3_out:0'\n vgg_layer4_out_tensor_name = 'layer4_out:0'\n vgg_layer7_out_tensor_name = 'layer7_out:0'\n tf.saved_model.loader.load(sess,...
[ "0.7889504", "0.7825926", "0.77161455", "0.7700215", "0.767095", "0.76689535", "0.76665366", "0.76523226", "0.764477", "0.76107484", "0.74956745", "0.743828", "0.73876715", "0.7383047", "0.709827", "0.7065817", "0.69763196", "0.69605315", "0.69253165", "0.67542", "0.67293185"...
0.73941267
12
Updates the sprite. t is the current time that has passed. Direction may be either an int or a 2tuple
def update(self, t, direction = (0, 0), speed = None, position = None): if position != None: self.rect.move(position[0], position[1]) if t - self._last_update > self._delay: self._frame += 1 self._last_update = t self.changeDirection(direction) self.ch...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update(self, direction):\n \n self.image_w, self.image_h = self.image.get_size()\n bounds_rect = self.screen.get_rect().inflate(-self.image_w, -self.image_h)\n\n if direction > 0:\n self.x += self.speed\n if self.x > bounds_rect.right :\n self.x ...
[ "0.59923923", "0.58768886", "0.5875041", "0.5798088", "0.572474", "0.57195073", "0.56617504", "0.56344676", "0.560916", "0.5593607", "0.5582804", "0.55520487", "0.55384433", "0.55149615", "0.5503765", "0.54641896", "0.54555285", "0.54555285", "0.54555285", "0.5447479", "0.544...
0.7168161
0
Updates the sprite without changing speed or direction.
def stationaryUpdate(self, t): if t - self._last_update > self._delay: self._frame += 1 self._last_update = t if self._frame >= len(self._images[0]): self._frame = 0 self.image = self._images[self._curRow][self._frame]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update(self):\n # Move the sprite\n super().update()\n # Remove us if we're off screen\n if self.right < 0:\n self.remove_from_sprite_lists()", "def update(self):\n \n # update the player image to next in animation\n try:\n self.image = s...
[ "0.7282117", "0.7193056", "0.715559", "0.7018869", "0.6969505", "0.6886472", "0.68721354", "0.6838792", "0.68280834", "0.68280834", "0.68280834", "0.68130934", "0.6778666", "0.6775952", "0.67408895", "0.67361385", "0.67090744", "0.6648388", "0.664652", "0.6618152", "0.6605567...
0.0
-1
The walls will have 3 directions, 0=left, 1=middle,\ 2= right
def __init__(self, images, position, directionInt, row, col, fps=10): pygame.sprite.Sprite.__init__(self) if type(directionInt)!=int: raise WallSpriteError("The directionInt must be an int!") if directionInt == 0 or directionInt == 2: self._layer = row*4+3+(col%2)*2 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_walls(self):\n legal_moves = [i.get_location() for i in self.__moves]\n for move in legal_moves:\n if self.__y > move[1]:\n self.__walls[NORTH] = Y_PAD\n elif self.__y < move[1]:\n self.__walls[SOUTH] = Y_PAD\n\n if self.__x < mov...
[ "0.72738296", "0.71362656", "0.7117432", "0.70020354", "0.69637", "0.69621104", "0.6578402", "0.65578616", "0.6482303", "0.64049935", "0.63853663", "0.63640964", "0.6361288", "0.63465804", "0.6344319", "0.6325247", "0.63204944", "0.63030446", "0.63003874", "0.6270662", "0.623...
0.0
-1
Add a messages to the send queue.
def push(self, message:str): data = { 'message': message, 'time': arrow.utcnow().format() } return self.queue.insert(data)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def send(self, msg):\n self.sendqueue.append(msg)", "def _add_message(self, msg):\n self._message_queue.put(msg)", "def send(self, message):\n self.send_queue.append(message)", "def queue_message(self, m: Message) -> None:\n self.queue.append(m)", "def fill_queue(self, queue, me...
[ "0.78691447", "0.7538113", "0.7358702", "0.72925144", "0.72345483", "0.7063893", "0.6884105", "0.67689824", "0.6613793", "0.6525541", "0.6509434", "0.65087914", "0.64845365", "0.64745635", "0.64314175", "0.6414239", "0.64087915", "0.6401784", "0.637964", "0.63654953", "0.6356...
0.5622051
97
Return and remove the next message in the queue.
def pop(self): try: result = self.queue.all()[0] self.remove(result.doc_id) return result except IndexError: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pop_message(self):\n self.wait_message.acquire()\n self.wait_message.release()\n message = self.messages.pop(0)\n return message", "def dequeue_msg(self):\n dst, key = self.mqueue.popleft()\n dst.receive_msg(key)", "def pop_message(self, tag):\n if self.new_messages...
[ "0.76262325", "0.7508111", "0.7493084", "0.74644387", "0.7163989", "0.71311086", "0.6994837", "0.69516927", "0.693754", "0.6932909", "0.68815064", "0.6816369", "0.6813625", "0.68135846", "0.6795427", "0.6789267", "0.67702293", "0.67689455", "0.67565197", "0.67340136", "0.6718...
0.6608605
34
Returns generator that yields chunks of chunk size of data
def _chunks(data, chunk_size): return (data[i:i + chunk_size] for i in range(0, len(data), chunk_size))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def chunks(data: Sized, size: int) -> Generator:\n for i in range(0, len(data), size):\n yield data[i : i + size] # type: ignore", "def chunks(data, chunk_size, adv=None):\n adv = chunk_size if not adv else adv\n\n for i in xrange(0, len(data), adv):\n yield data[i:i+chunk_size]", "def ...
[ "0.830382", "0.8088895", "0.79925406", "0.7989692", "0.7963253", "0.7785681", "0.7740589", "0.76733714", "0.76322514", "0.7595969", "0.75905603", "0.7578341", "0.756817", "0.74813074", "0.74797523", "0.7475607", "0.74637944", "0.7463426", "0.74214745", "0.741166", "0.7363367"...
0.77841306
6
Sets the logging level for level_rails and detects when change occured.
def set_rails_loglevel(level, validate_against_worker='MiqUiWorker'): ui_worker_pid = '#{}'.format(get_worker_pid(validate_against_worker)) logger.info('Setting log level_rails on appliance to {}'.format(level)) yaml = get_yaml_config('vmdb') if not str(yaml['log']['level_rails']).lower() == level.lowe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_log_level(self, level):\n if level == 'DEBUG':\n self.logger.setLevel(logging.DEBUG)\n elif level == 'INFO':\n self.logger.setLevel(logging.INFO)\n else:\n self.logger.setLevel(logging.INFO)", "def _log_level_changed(self, name, old, new):\n if...
[ "0.6969083", "0.6962816", "0.68785816", "0.68359935", "0.682208", "0.67762977", "0.67645437", "0.6717787", "0.66461515", "0.66056615", "0.65977526", "0.6482468", "0.6480599", "0.6453811", "0.643114", "0.64251184", "0.64183706", "0.64105225", "0.6353914", "0.6352146", "0.63516...
0.7593458
0
Get database connection to Sqlite3.
def get_db(): db = getattr(g, '_database', None) if db is None: db = g._database = sqlite3.connect(DATABASE_PATH) return db
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def connection(self):\n return sqlite3.connect(self.dbname)", "def get_db_connection():\n conn = sqlite3.connect(cn_db)\n conn.isolation_level = None\n return conn", "def db_connection():\n return sqlite3.connect(\"netflix.db\")", "def connect_db():\n return sqlite3.connect(DATABASE)", ...
[ "0.8215672", "0.8018956", "0.78664047", "0.7845412", "0.78103036", "0.77503717", "0.77220434", "0.7702385", "0.76775455", "0.7655554", "0.76430947", "0.75868404", "0.75566816", "0.75550175", "0.7531751", "0.75196236", "0.75170594", "0.7512436", "0.7512436", "0.74952924", "0.7...
0.7296345
97
Close database connection on application finished.
def close_connection(exception): db = getattr(g, '_database', None) if db is not None: db.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _end_db(self):\n database.close()", "def end_connection(self):\n self.db.close()", "async def _close_db(self, app):\n app['db'].terminate()\n await app['db'].wait_closed()", "def close_db(self):\n self.con.close()", "def db_close_connection(self):\r\n if self.c...
[ "0.84530354", "0.83529794", "0.8023679", "0.80082643", "0.798838", "0.7953911", "0.79313624", "0.7844826", "0.77773315", "0.777061", "0.7687665", "0.76847893", "0.7669523", "0.7583231", "0.7572973", "0.7562723", "0.754274", "0.7536237", "0.7536237", "0.7509649", "0.74692893",...
0.69913536
95
Return the main page.
def index(): return render_template("index.html")
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_main_page():\n\n return render_template('main.html')", "def main_page(self):\n return self.server._my_main_page", "def main_page(self):\n return \"index.html\"", "def mainPage():\n return \"this is the main page /\"", "def page():\n return render_template('index.html')", "def...
[ "0.8575233", "0.8379982", "0.8294987", "0.8189381", "0.77702457", "0.76832575", "0.76593643", "0.76460874", "0.7593", "0.73784316", "0.72535217", "0.722374", "0.7201249", "0.7120589", "0.70900536", "0.708596", "0.7049091", "0.70183927", "0.70175284", "0.700659", "0.69996625",...
0.0
-1
Returns the length (number of letters) in the current hand.
def calculateHandlen(hand): handLen = 0 for letter in hand: handLen += hand.get(letter, 0) return handLen
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def calculateHandlen(hand):\n letterCount = 0\n for letter in hand.keys():\n letterCount += hand[letter]\n return letterCount", "def calculateHandlen(hand):\n length = 0\n for letter in hand.keys():\n for i in range(hand[letter]):\n length += 1\n return length", "def ...
[ "0.8091517", "0.7897643", "0.7821149", "0.7810304", "0.7658495", "0.75481224", "0.7471469", "0.7287719", "0.707713", "0.7027202", "0.70243603", "0.70243603", "0.70243603", "0.702314", "0.70229465", "0.69313353", "0.6886767", "0.6886129", "0.6868419", "0.68571335", "0.68516654...
0.79585534
1
Test that a missing started.json still renders a proper page.
def test_missing_started(self): build_dir = '/kubernetes-jenkins/logs/job-with-no-started/1234/' init_build(build_dir, started=False) response = app.get('/build' + build_dir) self.assertIn('Build Result: SUCCESS', response) self.assertIn('job-with-no-started', response) s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_read_non_existent(self):\n\n response = self.client.get(\n reverse(\n 'timeslot-detail',\n kwargs={'pk': 999},\n ),\n )\n\n content = {'detail': 'Not found.'}\n\n self.assertEqual(json.loads(response.content), content)\n\n ...
[ "0.6891453", "0.67790014", "0.6694298", "0.6576796", "0.64899486", "0.6475028", "0.6464959", "0.6462923", "0.64252657", "0.64185053", "0.6384159", "0.63555646", "0.63334394", "0.63101935", "0.63062876", "0.6298783", "0.6284546", "0.627591", "0.626926", "0.62461317", "0.624015...
0.6702766
2
Given an other MLP that has the same input and output size, set all the parameters in common.
def set_parameters_like_(self, mlp): assert mlp.input_size == self.input_size and mlp.output_size == self.output_size min_layers = min(len(self.linears), len(mlp.linears)) if self.n_hidden_layers == mlp.n_hidden_layers == 0: self.to_hidden = mlp.to_hidden elif self.n_hidden_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_target(self):\n for param, target_param in zip(self.main_q_net.parameters(), self.target_q_net.parameters()):\n target_param.data.copy_(param.data)", "def hard_update(self, target, source):\r\n\r\n for target_param, param in zip(target.parameters(), source.parameters()):\r\n ...
[ "0.6139803", "0.611819", "0.6074627", "0.6063541", "0.5864667", "0.5864667", "0.5864667", "0.5849114", "0.5844843", "0.5820949", "0.5811574", "0.58044624", "0.57887954", "0.57743996", "0.5760224", "0.575548", "0.5710294", "0.5707438", "0.5705585", "0.5699087", "0.5678747", ...
0.696066
0
Apply in place `k_prune` times a `sparsity_ratio` pruning.
def prune_weights_(self, k_prune=1, sparsity_ratio=0.5): outs = [(self.to_hidden, "weight")] + [ (linear, "weight") for linear in self.linears ] # don't put the last layer because it depends on whether X or Y as output # first make sure that all previous pruning is removed ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_prune_rate(self, prune_rate):\n self.prune_rate = prune_rate", "def step(self, layers_to_prune=['attention']):\n # iterate through 24 layers\n if not self.level:\n print('Hit highest possible sparsity.')\n return\n\n if self.model_provider in \"transforme...
[ "0.58364403", "0.5790591", "0.56958693", "0.56593937", "0.55336136", "0.5438351", "0.5370379", "0.5234057", "0.51470286", "0.5103838", "0.50645024", "0.50610065", "0.5055804", "0.50534374", "0.5033393", "0.5019304", "0.5002464", "0.49959886", "0.49522108", "0.49384192", "0.49...
0.6759171
0
Returns the y coordinate
def get_y(self): return self.y_coord
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y(self):\n return self.__pos[1]", "def getY(self):\n return self.y", "def getY(self):\n return self.y", "def get_y(self):\n return self.y", "def getY(self):\n return self._y", "def GetYCoordinate(self):\n return self.Y_Coord", "def y(self) -> int:\n re...
[ "0.8889065", "0.88618684", "0.8843971", "0.8818326", "0.87337726", "0.8729718", "0.8721627", "0.8717904", "0.86748254", "0.86725235", "0.8519597", "0.8486932", "0.8455518", "0.8403214", "0.83297116", "0.8297333", "0.8297333", "0.8297333", "0.8264919", "0.82479995", "0.8245898...
0.8942183
0
sets and returns new y coordinate
def set_y(self, new_coord): self.y_coord = new_coord return new_coord
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def change_coord_y(self, y):\r\n self.__y = y, self.__x[1]", "def setY(self, y):\n self.y = y", "def setY(self, y):\n self.y = y", "def sety(self, value):\n self.y = value", "def sety(self, value):\n self.y = value", "def sety(self, value):\n self.y = value", "...
[ "0.82861483", "0.8237386", "0.8237386", "0.8224214", "0.8224214", "0.8224214", "0.80586165", "0.8022171", "0.80194485", "0.78447187", "0.78447187", "0.7712965", "0.75968015", "0.7522793", "0.7418576", "0.73097676", "0.72897434", "0.7210624", "0.71414435", "0.71391314", "0.712...
0.84850794
0
Override save method for using slugify
def save(self, *args, **kwargs): self.slug = slugify(self.name) super().save(*args, **kwargs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def save(self, *args, **kwargs):\n self.slug = slugify(self.title)\n super().save(*args, **kwargs)", "def save(self, *args, **kwargs):\n if self.slug == '':\n self.slug = slugify(self.title)\n super().save(*args, **kwargs)", "def save(self):\n self.slug = slugify(\...
[ "0.86715055", "0.845275", "0.84142804", "0.82894474", "0.8239701", "0.8174249", "0.8164289", "0.8082165", "0.8055281", "0.8055281", "0.8042749", "0.7990409", "0.792677", "0.79204077", "0.78510493", "0.7821985", "0.77490175", "0.77416193", "0.7678897", "0.7677431", "0.76615256...
0.8719485
1
Override save method for using slugify
def save(self, *args, **kwargs): self.slug = slugify(self.name) super().save(*args, **kwargs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def save(self, *args, **kwargs):\n self.slug = slugify(self.title)\n super().save(*args, **kwargs)", "def save(self, *args, **kwargs):\n if self.slug == '':\n self.slug = slugify(self.title)\n super().save(*args, **kwargs)", "def save(self):\n self.slug = slugify(\...
[ "0.86715055", "0.845275", "0.84142804", "0.82894474", "0.8239701", "0.8174249", "0.8164289", "0.8082165", "0.8055281", "0.8055281", "0.8042749", "0.7990409", "0.792677", "0.79204077", "0.78510493", "0.7821985", "0.77490175", "0.77416193", "0.7678897", "0.7677431", "0.76615256...
0.8719485
0
Override save method for using slugify
def save(self, *args, **kwargs): self.slug = slugify(self.title) super().save(*args, **kwargs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def save(self, *args, **kwargs):\n self.slug = slugify(self.name)\n super().save(*args, **kwargs)", "def save(self, *args, **kwargs):\n self.slug = slugify(self.name)\n super().save(*args, **kwargs)", "def save(self, *args, **kwargs):\n if self.slug == '':\n self.s...
[ "0.8719485", "0.8719485", "0.845275", "0.84142804", "0.82894474", "0.8239701", "0.8174249", "0.8164289", "0.8082165", "0.8055281", "0.8055281", "0.8042749", "0.7990409", "0.792677", "0.79204077", "0.78510493", "0.7821985", "0.77490175", "0.77416193", "0.7678897", "0.7677431",...
0.86715055
2
Generate a neatly formatted full name.
def get_formatted_name(first, last): full_name = first + ' ' + last return full_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def full_name(self):\n first = self.first.capitalize()\n last = self.last.capitalize()\n output = f'{first} {last}'\n return(output)", "def create_full_name(self):\n return f'{self.first_name} {self.last_name}'", "def get_formatted_name(first, last):\r\n full_name = f\"{fi...
[ "0.85359615", "0.8465424", "0.8277628", "0.81811726", "0.81678885", "0.81621647", "0.81377685", "0.81220114", "0.810649", "0.80998695", "0.8091836", "0.80716896", "0.80716896", "0.80633485", "0.80534726", "0.8045596", "0.8042312", "0.80329484", "0.80289537", "0.8027869", "0.8...
0.79592466
29
decr(self, size_t n = 1) > SwigPyIterator decr(self) > SwigPyIterator
def decr(self, n = 1): return _almathswig.SwigPyIterator_decr(self, n)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def decr(self, n=1):\n return _yarp.SwigPyIterator_decr(self, n)", "def decr(self, n=1):\n return _almathswig.SwigPyIterator_decr(self, n)", "def decr(self, n=1):\n return _RMF_HDF5.RMF_HDF5_SwigPyIterator_decr(self, n)", "def drop(n, iterator):\n return itertools.islice(iterator, n, ...
[ "0.91230077", "0.9034333", "0.8875888", "0.63439745", "0.6321202", "0.62829584", "0.62740415", "0.62740415", "0.62121755", "0.61806464", "0.613264", "0.61079335", "0.6068411", "0.6040734", "0.60258293", "0.5957237", "0.59096265", "0.59007215", "0.5842668", "0.58412683", "0.58...
0.90224046
2
advance(self, ptrdiff_t n) > SwigPyIterator
def advance(self, *args): return _almathswig.SwigPyIterator_advance(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def advance(self, n):\n return _RMF_HDF5.RMF_HDF5_SwigPyIterator_advance(self, n)", "def __next__(self):\n if self._n < self.__len__():\n result = self.__getitem__(self._n)\n self._n += 1\n return result\n else:\n raise StopIteration", "def advan...
[ "0.80478704", "0.7150892", "0.7109026", "0.70491064", "0.70338506", "0.70324105", "0.67581993", "0.67577934", "0.6587478", "0.6426272", "0.6425195", "0.6407606", "0.6407606", "0.6407606", "0.63850844", "0.6350594", "0.6288406", "0.6242959", "0.6219057", "0.6212128", "0.621212...
0.7230931
1
__ne__(self, SwigPyIterator x) > bool
def __ne__(self, *args): return _almathswig.SwigPyIterator___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __ne__(self, *args):\n return _yarp.SwigPyIterator___ne__(self, *args)", "def __ne__(self, x):\n return _RMF_HDF5.RMF_HDF5_SwigPyIterator___ne__(self, x)", "def __ne__(self, other) -> bool:\n return self.result != other", "def __ne__(self, nqubit):\n\n return not self == nqubi...
[ "0.85237676", "0.8487512", "0.7277632", "0.7262514", "0.7253029", "0.72510964", "0.720062", "0.71665823", "0.71495026", "0.71434397", "0.7122545", "0.711058", "0.7097473", "0.708949", "0.708949", "0.7079607", "0.7079607", "0.7079607", "0.70653653", "0.70483947", "0.70483947",...
0.8420925
2
__getslice__(self, difference_type i, difference_type j) > vectorPose2D
def __getslice__(self, *args): return _almathswig.vectorPose2D___getslice__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __getslice__(self, *args):\n return _almathswig.vectorPosition2D___getslice__(self, *args)", "def __getitem__(self, *args):\n return _almathswig.vectorPose2D___getitem__(self, *args)", "def __getitem__(self, *args):\n return _almathswig.vectorPose2D___getitem__(self, *args)", "def __...
[ "0.8062488", "0.78897107", "0.78897107", "0.7754077", "0.7657107", "0.7512531", "0.6878236", "0.6878236", "0.6819042", "0.676882", "0.676882", "0.67290753", "0.6721757", "0.6682248", "0.6682248", "0.66773796", "0.66594523", "0.66594523", "0.65663177", "0.6544384", "0.6533845"...
0.8760562
0
__ne__(self, Pose2D pPos2) > bool
def __ne__(self, *args): return _almathswig.Pose2D___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __ne__(self, *args):\n return _almathswig.Position2D___ne__(self, *args)", "def __ne__(self, *args):\n return _almathswig.Position2D___ne__(self, *args)", "def __ne__(self,other):\r\n\t\treturn self.x != other.x or self.y != other.y", "def __ne__(self,right):\n if not isinstance(righ...
[ "0.78179723", "0.78179723", "0.75830233", "0.7322509", "0.71886337", "0.7117133", "0.7117133", "0.7114181", "0.7114181", "0.70589715", "0.7038241", "0.70308423", "0.70307976", "0.7024952", "0.7021647", "0.7021647", "0.70206344", "0.70206344", "0.6986387", "0.6986387", "0.6957...
0.7596542
2
__ne__(self, Position2D pPos2) > bool
def __ne__(self, *args): return _almathswig.Position2D___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __ne__(self,other):\r\n\t\treturn self.x != other.x or self.y != other.y", "def __ne__(self, *args):\n return _almathswig.Pose2D___ne__(self, *args)", "def __ne__(self, *args):\n return _almathswig.Pose2D___ne__(self, *args)", "def __ne__(self, *args):\n return _almathswig.Position6D...
[ "0.76018053", "0.74897236", "0.74897236", "0.74084944", "0.74084944", "0.73256654", "0.72596496", "0.72591823", "0.72591823", "0.7219604", "0.7180377", "0.71580076", "0.7116421", "0.7063181", "0.706236", "0.706236", "0.70622236", "0.7039917", "0.7039917", "0.69959587", "0.699...
0.81916976
0
__idiv__(self, float pVal) > Position2D
def __idiv__(self, *args): return _almathswig.Position2D___idiv__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __idiv__(self, *args):\n return _almathswig.Pose2D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _almathswig.Pose2D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _almathswig.Position6D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _...
[ "0.7377943", "0.7377943", "0.7236245", "0.7236245", "0.71259624", "0.71259624", "0.6796187", "0.674319", "0.67154855", "0.6689898", "0.6689898", "0.66410476", "0.6640205", "0.6623219", "0.66194874", "0.6592334", "0.65828955", "0.65498483", "0.65161836", "0.6488228", "0.647262...
0.81294566
0
crossProduct(self, Position2D pPos2) > float
def crossProduct(self, *args): return _almathswig.Position2D_crossProduct(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _cross_product(x0: float, y0: float, x1: float, y1: float, x2: float, y2: float) -> float:\n\n return (x1 - x0) * (y2 - y0) - (y1 - y0) * (x2 - x0)", "def crossproduct(a: Point, b: Point) -> float:\n return a.x * b.y - b.x * a.y", "def cross_product(v1, v2):\r\n\r\n return v1.x * v2.y - v2.x * v1....
[ "0.7116181", "0.70732605", "0.70407313", "0.6788852", "0.6773869", "0.6773869", "0.66701764", "0.6500371", "0.6486465", "0.6459168", "0.64413697", "0.64299536", "0.6387044", "0.6384238", "0.63554645", "0.6229438", "0.6198102", "0.6198102", "0.6161817", "0.613634", "0.6074458"...
0.75410193
0
__rmul__(self, float lhs) > Position2D
def __rmul__(self, *args): return _almathswig.Position2D___rmul__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __rmul__(self, *args):\n return _almathswig.Pose2D___rmul__(self, *args)", "def __rmul__(self, *args):\n return _almathswig.Pose2D___rmul__(self, *args)", "def __rmul__(self, *args):\n return _almathswig.Position6D___rmul__(self, *args)", "def __rmul__(self, *args):\n return _...
[ "0.7145334", "0.7145334", "0.707804", "0.707804", "0.6930755", "0.6930755", "0.6878336", "0.6682038", "0.6682038", "0.6544857", "0.6544857", "0.63815254", "0.63815254", "0.6322588", "0.6278628", "0.62529147", "0.62097174", "0.61764526", "0.61764526", "0.6134872", "0.6134872",...
0.80139214
0
pose2DInverse(Pose2D pPos) > Pose2D pose2DInverse(Pose2D pPos, Pose2D pRes)
def pose2DInverse(*args): return _almathswig.pose2DInverse(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def inverse(self):\n return _almathswig.Pose2D_inverse(self)", "def pose_inv(pose):\n R = pose[:3, :3]\n t = pose[:3, 3]\n\n inv_R = R.T\n inv_t = - np.dot(inv_R, t)\n\n inv_pose = np.c_[inv_R, np.transpose(inv_t)]\n inv_pose = np.r_[inv_pose, [[0, 0, 0, 1]]]\n\n return inv_pose", "...
[ "0.6831105", "0.6631794", "0.6400259", "0.6025667", "0.6016728", "0.6016728", "0.59573823", "0.59573823", "0.59375507", "0.59375507", "0.59217185", "0.58595735", "0.5834713", "0.57626987", "0.57626987", "0.57576597", "0.57576597", "0.5734594", "0.5734594", "0.5705376", "0.568...
0.74354154
0
__ne__(self, Position3D pPos2) > bool
def __ne__(self, *args): return _almathswig.Position3D___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __ne__(self, *args):\n return _almathswig.Position2D___ne__(self, *args)", "def __ne__(self, *args):\n return _almathswig.Position2D___ne__(self, *args)", "def __ne__(self, *args):\n return _almathswig.Position6D___ne__(self, *args)", "def __ne__(self, *args):\n return _almath...
[ "0.7506682", "0.7506682", "0.73578995", "0.73578995", "0.72969025", "0.7213079", "0.7213079", "0.71092445", "0.707465", "0.707465", "0.7070591", "0.7070591", "0.6968937", "0.6912117", "0.69013476", "0.68879485", "0.68879485", "0.685986", "0.68563974", "0.6828771", "0.6808991"...
0.7978827
0
__idiv__(self, float pVal) > Position3D
def __idiv__(self, *args): return _almathswig.Position3D___idiv__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __idiv__(self, *args):\n return _almathswig.Velocity3D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _almathswig.Velocity3D___idiv__(self, *args)", "def __pos__(self):\n return _almathswig.Position3D___pos__(self)", "def __idiv__(self, *args):\n return _almathsw...
[ "0.7691545", "0.7691545", "0.72502196", "0.7229996", "0.7229996", "0.69999474", "0.6825099", "0.6825099", "0.68153185", "0.68153185", "0.6799149", "0.6799149", "0.6744573", "0.67052966", "0.6617642", "0.6617642", "0.66085124", "0.6608253", "0.6604402", "0.65607685", "0.652664...
0.8457116
0
distance(self, Position3D pPos2) > float
def distance(self, *args): return _almathswig.Position3D_distance(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def distance(self, p1, p2):\n x, y, z = p1.x - p2.x, p1.y - p2.y, p1.z - p2.z\n return math.sqrt(x*x + y*y + z*z)", "def distance3d(pt1, pt2):\r\n (x1, y1, z1) = pt1\r\n (x2, y2, z2) = pt2\r\n return math.sqrt((x1-x2)**2 + (y1 - y2)**2 + (z1 - z2)**2)", "def distance(self) -> float:\n ...
[ "0.7462076", "0.7325102", "0.70664567", "0.6993286", "0.69423175", "0.68270755", "0.6816983", "0.67903847", "0.67889535", "0.6783293", "0.6783293", "0.67816204", "0.6769398", "0.6765617", "0.67640096", "0.67597187", "0.673818", "0.67258155", "0.6712023", "0.6712023", "0.66599...
0.76556975
0
isNear(self, Position3D pPos2, float pEpsilon = 0.0001) > bool isNear(self, Position3D pPos2) > bool
def isNear(self, *args): return _almathswig.Position3D_isNear(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def isNear(self, *args):\n return _almathswig.Position2D_isNear(self, *args)", "def isNear(self, *args):\n return _almathswig.Position2D_isNear(self, *args)", "def isNear(self, *args):\n return _almathswig.Velocity3D_isNear(self, *args)", "def isNear(self, *args):\n return _almath...
[ "0.76052785", "0.76052785", "0.7529011", "0.7529011", "0.74620074", "0.74620074", "0.7419912", "0.7419912", "0.7403496", "0.7403496", "0.7399397", "0.7399397", "0.7361655", "0.7361655", "0.72748524", "0.72748524", "0.72374594", "0.72374594", "0.7147103", "0.7147103", "0.68805...
0.7674731
0
crossProduct(self, Position3D pPos2) > Position3D
def crossProduct(self, *args): return _almathswig.Position3D_crossProduct(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def crossProduct(self, *args):\n return _almathswig.Position2D_crossProduct(self, *args)", "def crossProduct(self, *args):\n return _almathswig.Position2D_crossProduct(self, *args)", "def testCross3Product(self):\n console.terse(\"{0}\\n\".format(self.testCross3Product.__doc__))\n\n ...
[ "0.690174", "0.690174", "0.6806667", "0.6725493", "0.6590292", "0.640895", "0.6356057", "0.6348147", "0.6348147", "0.6252116", "0.6218695", "0.6183012", "0.61500716", "0.6141053", "0.6141053", "0.60272497", "0.6026308", "0.5968332", "0.58854926", "0.5883439", "0.5883439", "...
0.7419348
0
__rmul__(self, float lhs) > Position3D
def __rmul__(self, *args): return _almathswig.Position3D___rmul__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __rmul__(self, *args):\n return _almathswig.Velocity3D___rmul__(self, *args)", "def __rmul__(self, *args):\n return _almathswig.Velocity3D___rmul__(self, *args)", "def __neg__(self):\n return _almathswig.Position3D___neg__(self)", "def __rmul__(self, *args):\n return _almathsw...
[ "0.74793565", "0.74793565", "0.7187706", "0.6991217", "0.6991217", "0.6980271", "0.6980271", "0.6898484", "0.6898484", "0.6867255", "0.6867255", "0.67431915", "0.67431915", "0.6736978", "0.6736978", "0.6707194", "0.66483223", "0.66483223", "0.6644322", "0.6644322", "0.6630295...
0.8480018
0
__ne__(self, Position6D pPos2) > bool
def __ne__(self, *args): return _almathswig.Position6D___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __ne__(self, *args):\n return _almathswig.Position2D___ne__(self, *args)", "def __ne__(self, *args):\n return _almathswig.Position2D___ne__(self, *args)", "def __ne__(self,other):\r\n\t\treturn self.x != other.x or self.y != other.y", "def __ne__(self, *args):\n return _almathswig.Ve...
[ "0.77782774", "0.77782774", "0.74443", "0.7248189", "0.7248189", "0.7241796", "0.72142947", "0.7192791", "0.71544296", "0.71499115", "0.71371746", "0.71371746", "0.70664287", "0.70664287", "0.70649445", "0.70316434", "0.70316434", "0.702071", "0.702071", "0.6934778", "0.69300...
0.8219522
0
__idiv__(self, float pVal) > Position6D
def __idiv__(self, *args): return _almathswig.Position6D___idiv__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __idiv__(self, value: 'float const &') -> \"void\":\n return _itkMatrixPython.itkMatrixF43___idiv__(self, value)", "def __idiv__(self, *args):\n return _almathswig.Velocity6D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _almathswig.Velocity6D___idiv__(self, *args)", "...
[ "0.74347484", "0.7378102", "0.7378102", "0.7365143", "0.7343908", "0.73351663", "0.7334802", "0.73256475", "0.7305249", "0.7258425", "0.7077851", "0.7048779", "0.70383686", "0.6986017", "0.6965989", "0.69543976", "0.6953647", "0.6953647", "0.69442207", "0.69012576", "0.688242...
0.8264309
0
crossProduct(Position2D pPos1, Position2D pPos2) > float crossProduct(Position2D pPos1, Position2D pPos2, float pRes) crossProduct(Position3D pPos1, Position3D pPos2) > Position3D crossProduct(Position3D pPos1, Position3D pPos2, Position3D pRes)
def crossProduct(*args): return _almathswig.crossProduct(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def crossProduct(self, *args):\n return _almathswig.Position3D_crossProduct(self, *args)", "def crossProduct(self, *args):\n return _almathswig.Position3D_crossProduct(self, *args)", "def crossProduct(self, *args):\n return _almathswig.Position2D_crossProduct(self, *args)", "def crossPro...
[ "0.7868782", "0.7868782", "0.7727468", "0.7727468", "0.724362", "0.7202521", "0.7066759", "0.7045262", "0.70132613", "0.6946534", "0.6927114", "0.6835601", "0.67657065", "0.67225945", "0.66859245", "0.66612524", "0.65897316", "0.6582595", "0.6557363", "0.648141", "0.6383198",...
0.71972924
6
__ne__(self, Quaternion pQua2) > bool
def __ne__(self, *args): return _almathswig.Quaternion___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __ne__(self, other):\n if isinstance(other, quat):\n return self.x!=other.x or self.y!=other.y or self.z!=other.z or self.w!=other.w\n else:\n return 1", "def __eq__(self, other):\n results = (super(Quat,self).__eq__(other))\n for result in results:\n ...
[ "0.81424797", "0.75141656", "0.7270452", "0.7270452", "0.7115859", "0.7003757", "0.69170564", "0.68970495", "0.6811811", "0.6801621", "0.6785894", "0.67585903", "0.674428", "0.6742929", "0.6726315", "0.6726315", "0.6722345", "0.6718214", "0.66817796", "0.66739535", "0.6670238...
0.8049025
1
__idiv__(self, float pVal) > Quaternion
def __idiv__(self, *args): return _almathswig.Quaternion___idiv__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __idiv__(self, *args):\n return _almathswig.Rotation3D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _almathswig.Rotation3D___idiv__(self, *args)", "def __rmul__(self, rval):\n return Quaternion( [rval*self[i] for i in range(4)])", "def __div__(self, *args):\n r...
[ "0.7113961", "0.7113961", "0.65778375", "0.6519165", "0.6519165", "0.64652544", "0.6454029", "0.6454029", "0.6418654", "0.6417722", "0.64149964", "0.6387166", "0.6387166", "0.6317272", "0.6251553", "0.6222398", "0.62174356", "0.61843395", "0.61843395", "0.61828285", "0.618282...
0.83896625
0
isNear(self, Quaternion pQua2, float pEpsilon = 0.0001) > bool isNear(self, Quaternion pQua2) > bool
def isNear(self, *args): return _almathswig.Quaternion_isNear(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def isNear(self, *args):\n return _almathswig.Rotation3D_isNear(self, *args)", "def isNear(self, *args):\n return _almathswig.Rotation3D_isNear(self, *args)", "def isNear(self, *args):\n return _almathswig.Rotation_isNear(self, *args)", "def isNear(self, *args):\n return _almathsw...
[ "0.6905919", "0.6905919", "0.6867071", "0.6867071", "0.6612578", "0.6612578", "0.65700763", "0.65700763", "0.65396637", "0.65396637", "0.6439003", "0.6439003", "0.6400158", "0.6400158", "0.63645726", "0.63645726", "0.621417", "0.621417", "0.61961615", "0.61961615", "0.6186002...
0.7859348
0
fromAngleAndAxisRotation(float pAngle, float pAxisX, float pAxisY, float pAxisZ) > Quaternion
def fromAngleAndAxisRotation(*args): return _almathswig.Quaternion_fromAngleAndAxisRotation(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Quaternion_fromAngleAndAxisRotation(*args):\n return _almathswig.Quaternion_fromAngleAndAxisRotation(*args)", "def Quaternion_fromAngleAndAxisRotation(*args):\n return _almathswig.Quaternion_fromAngleAndAxisRotation(*args)", "def quaternionFromAngleAndAxisRotation(*args):\n return _almathswig.quaternion...
[ "0.87280774", "0.87280774", "0.8365358", "0.8365358", "0.8026614", "0.8026614", "0.78595287", "0.74174714", "0.74174714", "0.74053955", "0.74053955", "0.7372908", "0.7339217", "0.72424734", "0.72424734", "0.7175881", "0.7174846", "0.7174846", "0.7157727", "0.7157727", "0.7121...
0.8356775
4
Quaternion_fromAngleAndAxisRotation(float pAngle, float pAxisX, float pAxisY, float pAxisZ) > Quaternion
def Quaternion_fromAngleAndAxisRotation(*args): return _almathswig.Quaternion_fromAngleAndAxisRotation(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fromAngleAndAxisRotation(*args):\n return _almathswig.Quaternion_fromAngleAndAxisRotation(*args)", "def fromAngleAndAxisRotation(*args):\n return _almathswig.Quaternion_fromAngleAndAxisRotation(*args)", "def quaternionFromAngleAndAxisRotation(*args):\n return _almathswig.quaternionFromAngleA...
[ "0.84408444", "0.84408444", "0.8393208", "0.8393208", "0.8076175", "0.8076175", "0.78659374", "0.7497378", "0.7497378", "0.74497056", "0.74497056", "0.74411845", "0.74411845", "0.74398667", "0.74287236", "0.74287236", "0.7397599", "0.7397599", "0.72587574", "0.7230776", "0.70...
0.8853729
0
quaternionFromAngleAndAxisRotation(float pAngle, float pAxisX, float pAxisY, float pAxisZ) > Quaternion
def quaternionFromAngleAndAxisRotation(*args): return _almathswig.quaternionFromAngleAndAxisRotation(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Quaternion_fromAngleAndAxisRotation(*args):\n return _almathswig.Quaternion_fromAngleAndAxisRotation(*args)", "def Quaternion_fromAngleAndAxisRotation(*args):\n return _almathswig.Quaternion_fromAngleAndAxisRotation(*args)", "def fromAngleAndAxisRotation(*args):\n return _almathswig.Quaternion_fro...
[ "0.86297745", "0.86297745", "0.81309754", "0.81309754", "0.7904259", "0.7904259", "0.78732353", "0.77356803", "0.77356803", "0.76668423", "0.7537329", "0.75193036", "0.75193036", "0.7433277", "0.7359339", "0.7308582", "0.7299914", "0.72989565", "0.72989565", "0.72693026", "0....
0.8445194
2
quaternionInverse(Quaternion pQua, Quaternion pQuaOut) quaternionInverse(Quaternion pQua) > Quaternion
def quaternionInverse(*args): return _almathswig.quaternionInverse(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def inverse(self):\n return _almathswig.Quaternion_inverse(self)", "def inv(self):\n norm = self.w ** 2 + self.x ** 2 + self.y ** 2 + self.z ** 2\n\n return Quaternion([self.w / norm, -self.x / norm, -self.y / norm, -self.z / norm])", "def basis_oriented_quaternion(drone_base_orientation, ...
[ "0.778924", "0.67675376", "0.655182", "0.64641464", "0.6462028", "0.6462028", "0.64355695", "0.64355695", "0.6318846", "0.6303699", "0.6303699", "0.6299722", "0.62972295", "0.62971205", "0.62943184", "0.62680346", "0.6209335", "0.62064666", "0.6116338", "0.61151487", "0.61151...
0.84096074
0
angleAndAxisRotationFromQuaternion(Quaternion pQuaternion, float pAngle, float pAxisX, float pAxisY, float pAxisZ) angleAndAxisRotationFromQuaternion(Quaternion pQuaternion) > vectorFloat
def angleAndAxisRotationFromQuaternion(*args): return _almathswig.angleAndAxisRotationFromQuaternion(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def quaternionFromAngleAndAxisRotation(*args):\n return _almathswig.quaternionFromAngleAndAxisRotation(*args)", "def quaternionFromAngleAndAxisRotation(*args):\n return _almathswig.quaternionFromAngleAndAxisRotation(*args)", "def Quaternion_fromAngleAndAxisRotation(*args):\n return _almathswig.Quaternion_fr...
[ "0.7408828", "0.7408828", "0.7353062", "0.7353062", "0.7235369", "0.7112624", "0.6932644", "0.6920594", "0.6920594", "0.69079626", "0.6760598", "0.674797", "0.674797", "0.6747197", "0.6747197", "0.6731651", "0.6731651", "0.6730417", "0.6728946", "0.6711194", "0.66671044", "...
0.7714751
0
__imul__(self, Rotation pRot2) > Rotation
def __imul__(self, *args): return _almathswig.Rotation___imul__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __imul__(self, *args):\n return _almathswig.Rotation3D___imul__(self, *args)", "def __imul__(self, *args):\n return _almathswig.Rotation3D___imul__(self, *args)", "def __mul__(self, *args):\n return _almathswig.Rotation___mul__(self, *args)", "def __mul__(self, *args):\n retur...
[ "0.77664435", "0.77664435", "0.7481628", "0.7481628", "0.74215823", "0.74215823", "0.68065417", "0.68065417", "0.6763032", "0.67073727", "0.6556033", "0.6556033", "0.6419728", "0.6418774", "0.6418774", "0.6354062", "0.6354062", "0.62902147", "0.62668824", "0.6262774", "0.6233...
0.86146396
0
__ne__(self, Rotation pRot2) > bool
def __ne__(self, *args): return _almathswig.Rotation___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __ne__(self, *args):\n return _almathswig.Rotation3D___ne__(self, *args)", "def __ne__(self, *args):\n return _almathswig.Rotation3D___ne__(self, *args)", "def __eq__(self, *args):\n return _almathswig.Rotation___eq__(self, *args)", "def __eq__(self, *args):\n return _almathsw...
[ "0.70858294", "0.70858294", "0.7083308", "0.7083308", "0.6872257", "0.68082833", "0.6774955", "0.6774955", "0.6771154", "0.6767102", "0.6767102", "0.6757289", "0.673218", "0.66773933", "0.66707337", "0.66691273", "0.66117346", "0.66103417", "0.6588541", "0.6586359", "0.657589...
0.7991966
0
isNear(self, Rotation pRot2, float pEpsilon = 0.0001) > bool isNear(self, Rotation pRot2) > bool
def isNear(self, *args): return _almathswig.Rotation_isNear(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def isNear(self, *args):\n return _almathswig.Rotation3D_isNear(self, *args)", "def isNear(self, *args):\n return _almathswig.Rotation3D_isNear(self, *args)", "def isNear(self, *args):\n return _almathswig.Quaternion_isNear(self, *args)", "def isNear(self, *args):\n return _almath...
[ "0.7088841", "0.7088841", "0.69068414", "0.69068414", "0.6755467", "0.6755467", "0.65670586", "0.65670586", "0.65387005", "0.65387005", "0.64738107", "0.64738107", "0.642994", "0.642994", "0.6331172", "0.6331172", "0.62733614", "0.62733614", "0.6251666", "0.6251666", "0.62509...
0.77500993
0
fromQuaternion(float pA, float pB, float pC, float pD) > Rotation
def fromQuaternion(*args): return _almathswig.Rotation_fromQuaternion(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rotation3DFromQuaternion(*args):\n return _almathswig.rotation3DFromQuaternion(*args)", "def rotation3DFromQuaternion(*args):\n return _almathswig.rotation3DFromQuaternion(*args)", "def Rotation_fromQuaternion(*args):\n return _almathswig.Rotation_fromQuaternion(*args)", "def Rotation_fromQuaternion(*...
[ "0.7924366", "0.7924366", "0.7884225", "0.7884225", "0.786759", "0.786759", "0.77477574", "0.77141315", "0.77141315", "0.7394967", "0.7394967", "0.7249368", "0.7249368", "0.7113826", "0.7113826", "0.7087473", "0.7087473", "0.7070163", "0.7070163", "0.6989834", "0.6989834", ...
0.77855283
6
fromRotX(float pRotX) > Rotation
def fromRotX(*args): return _almathswig.Rotation_fromRotX(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rotation_fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*args)", "def Rotation_fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*args)", "def rotationFromRotX(*args):\n return _almathswig.rotationFromRotX(*args)", "def rotationFromRotX(*args):\n return _almathswig.rotationFromRotX(*ar...
[ "0.80423033", "0.80423033", "0.784099", "0.784099", "0.7501228", "0.7501228", "0.73089534", "0.73089534", "0.6913254", "0.6913254", "0.62292844", "0.62292844", "0.60976034", "0.60976034", "0.6092194", "0.59705824", "0.59705824", "0.5939375", "0.5939375", "0.59046704", "0.5904...
0.8069627
0
fromRotY(float pRotY) > Rotation
def fromRotY(*args): return _almathswig.Rotation_fromRotY(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rotation_fromRotY(*args):\n return _almathswig.Rotation_fromRotY(*args)", "def Rotation_fromRotY(*args):\n return _almathswig.Rotation_fromRotY(*args)", "def rotationFromRotY(*args):\n return _almathswig.rotationFromRotY(*args)", "def rotationFromRotY(*args):\n return _almathswig.rotationFromRotY(*ar...
[ "0.8082933", "0.8082933", "0.7846578", "0.7846578", "0.7563207", "0.7563207", "0.74563235", "0.74563235", "0.7141512", "0.7141512", "0.6486723", "0.62470835", "0.62089753", "0.62068063", "0.6012199", "0.59729105", "0.5921984", "0.5855358", "0.5820074", "0.5820074", "0.5813768...
0.8103207
0
from3DRotation(float pWX, float pWY, float pWZ) > Rotation
def from3DRotation(*args): return _almathswig.Rotation_from3DRotation(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rotation_from3DRotation(*args):\n return _almathswig.Rotation_from3DRotation(*args)", "def Rotation_from3DRotation(*args):\n return _almathswig.Rotation_from3DRotation(*args)", "def rotationFrom3DRotation(*args):\n return _almathswig.rotationFrom3DRotation(*args)", "def rotationFrom3DRotation(*args):\...
[ "0.7659572", "0.7659572", "0.7594468", "0.7594468", "0.7130336", "0.7130336", "0.70334417", "0.6623041", "0.6623041", "0.65917474", "0.65917474", "0.65343386", "0.64803416", "0.64698493", "0.6409063", "0.6409063", "0.6366444", "0.6366444", "0.63616985", "0.6359648", "0.635964...
0.7664233
0
Rotation_fromQuaternion(float pA, float pB, float pC, float pD) > Rotation
def Rotation_fromQuaternion(*args): return _almathswig.Rotation_fromQuaternion(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rotationFromQuaternion(*args):\n return _almathswig.rotationFromQuaternion(*args)", "def rotationFromQuaternion(*args):\n return _almathswig.rotationFromQuaternion(*args)", "def rotation3DFromQuaternion(*args):\n return _almathswig.rotation3DFromQuaternion(*args)", "def rotation3DFromQuaternion(*args)...
[ "0.78570765", "0.78570765", "0.78156984", "0.78156984", "0.7780297", "0.7780297", "0.7637321", "0.7637321", "0.73236173", "0.73236173", "0.7239979", "0.718176", "0.718176", "0.70163906", "0.70163906", "0.7015903", "0.7015903", "0.7010584", "0.7010584", "0.6992884", "0.6992884...
0.7960747
0
Rotation_fromRotX(float pRotX) > Rotation
def Rotation_fromRotX(*args): return _almathswig.Rotation_fromRotX(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*args)", "def fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*args)", "def rotationFromRotX(*args):\n return _almathswig.rotationFromRotX(*args)", "def rotationFromRotX(*args):\n return _almathswig.rotationFromRotX(*args)", ...
[ "0.8106389", "0.8106389", "0.80527854", "0.80527854", "0.72268945", "0.72268945", "0.7122102", "0.7122102", "0.67577875", "0.67577875", "0.6475065", "0.6475065", "0.62292755", "0.62292755", "0.6198026", "0.6168894", "0.61663383", "0.61663383", "0.6150244", "0.6150244", "0.614...
0.8262308
0
Rotation_fromRotY(float pRotY) > Rotation
def Rotation_fromRotY(*args): return _almathswig.Rotation_fromRotY(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fromRotY(*args):\n return _almathswig.Rotation_fromRotY(*args)", "def fromRotY(*args):\n return _almathswig.Rotation_fromRotY(*args)", "def rotationFromRotY(*args):\n return _almathswig.rotationFromRotY(*args)", "def rotationFromRotY(*args):\n return _almathswig.rotationFromRotY(*args)", ...
[ "0.82283664", "0.82283664", "0.8152258", "0.8152258", "0.7399906", "0.7399906", "0.73775864", "0.73775864", "0.7084961", "0.7084961", "0.6694807", "0.65597415", "0.6513901", "0.6405241", "0.6359667", "0.6359597", "0.6300726", "0.62562305", "0.62494147", "0.6192276", "0.618145...
0.83787715
0
Rotation_from3DRotation(float pWX, float pWY, float pWZ) > Rotation
def Rotation_from3DRotation(*args): return _almathswig.Rotation_from3DRotation(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def from3DRotation(*args):\n return _almathswig.Rotation_from3DRotation(*args)", "def from3DRotation(*args):\n return _almathswig.Rotation_from3DRotation(*args)", "def rotationFrom3DRotation(*args):\n return _almathswig.rotationFrom3DRotation(*args)", "def rotationFrom3DRotation(*args):\n ret...
[ "0.7694394", "0.7694394", "0.7655868", "0.7655868", "0.7140425", "0.7140425", "0.6942506", "0.6769993", "0.6769993", "0.66326976", "0.66326976", "0.66259193", "0.6523922", "0.6523922", "0.65036654", "0.6493025", "0.64314884", "0.6392611", "0.62833446", "0.6275042", "0.6246013...
0.7724706
0
applyRotation(Rotation pRot, float pX, float pY, float pZ)
def applyRotation(*args): return _almathswig.applyRotation(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rotationFromRotZ(*args):\n return _almathswig.rotationFromRotZ(*args)", "def rotationFromRotZ(*args):\n return _almathswig.rotationFromRotZ(*args)", "def rotation(self, params):\n pass", "def Rotation_fromRotZ(*args):\n return _almathswig.Rotation_fromRotZ(*args)", "def Rotation_fromRotZ(*arg...
[ "0.7054133", "0.7054133", "0.70172954", "0.70084876", "0.70084876", "0.69185895", "0.6881797", "0.6881797", "0.6799087", "0.6660126", "0.6660126", "0.6656293", "0.6631051", "0.6631051", "0.66211", "0.6584746", "0.65161467", "0.65161467", "0.6493403", "0.6484078", "0.64615685"...
0.7842671
0
rotationFromRotX(float pRotX) > Rotation
def rotationFromRotX(*args): return _almathswig.rotationFromRotX(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rotation_fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*args)", "def Rotation_fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*args)", "def fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*args)", "def fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*args...
[ "0.7912536", "0.7912536", "0.7619635", "0.7619635", "0.68163174", "0.68163174", "0.6809749", "0.6809749", "0.6595756", "0.6595756", "0.6300707", "0.6300707", "0.62234014", "0.62234014", "0.6143672", "0.6122502", "0.60695267", "0.60695267", "0.6053393", "0.6046571", "0.6007389...
0.7956882
0
rotationFromRotY(float pRotY) > Rotation
def rotationFromRotY(*args): return _almathswig.rotationFromRotY(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rotation_fromRotY(*args):\n return _almathswig.Rotation_fromRotY(*args)", "def Rotation_fromRotY(*args):\n return _almathswig.Rotation_fromRotY(*args)", "def fromRotY(*args):\n return _almathswig.Rotation_fromRotY(*args)", "def fromRotY(*args):\n return _almathswig.Rotation_fromRotY(*args...
[ "0.8030057", "0.8030057", "0.7746034", "0.7746034", "0.69892335", "0.69892335", "0.6920419", "0.6920419", "0.68925613", "0.68925613", "0.6682874", "0.65019745", "0.6490202", "0.6428259", "0.6236749", "0.6228699", "0.61935145", "0.6181351", "0.6173636", "0.61377615", "0.607935...
0.8076604
0
rotationFrom3DRotation(float pWX, float pWY, float pWZ) > Rotation
def rotationFrom3DRotation(*args): return _almathswig.rotationFrom3DRotation(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rotation_from3DRotation(*args):\n return _almathswig.Rotation_from3DRotation(*args)", "def Rotation_from3DRotation(*args):\n return _almathswig.Rotation_from3DRotation(*args)", "def from3DRotation(*args):\n return _almathswig.Rotation_from3DRotation(*args)", "def from3DRotation(*args):\n ...
[ "0.751273", "0.751273", "0.74271363", "0.74271363", "0.6943283", "0.6925117", "0.6925117", "0.6613477", "0.6613477", "0.650199", "0.650199", "0.6465777", "0.6392084", "0.6392084", "0.6330497", "0.6315424", "0.63109255", "0.6256225", "0.61660564", "0.616009", "0.61479086", "...
0.7577311
0
__ne__(self, Rotation3D pRot2) > bool
def __ne__(self, *args): return _almathswig.Rotation3D___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __isub__(self, *args):\n return _almathswig.Rotation3D___isub__(self, *args)", "def __isub__(self, *args):\n return _almathswig.Rotation3D___isub__(self, *args)", "def __ne__(self, *args):\n return _almathswig.Rotation___ne__(self, *args)", "def __ne__(self, *args):\n return _...
[ "0.7406462", "0.7406462", "0.7277888", "0.7277888", "0.7010944", "0.7010944", "0.6883243", "0.67433405", "0.67433405", "0.6468167", "0.64538634", "0.6443208", "0.6443208", "0.63622063", "0.63622063", "0.636211", "0.6346368", "0.63248634", "0.63231415", "0.63177466", "0.630823...
0.77276623
0
isNear(self, Rotation3D pRot2, float pEpsilon = 0.0001) > bool isNear(self, Rotation3D pRot2) > bool
def isNear(self, *args): return _almathswig.Rotation3D_isNear(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def isNear(self, *args):\n return _almathswig.Rotation_isNear(self, *args)", "def isNear(self, *args):\n return _almathswig.Rotation_isNear(self, *args)", "def isNear(self, *args):\n return _almathswig.Quaternion_isNear(self, *args)", "def isNear(self, *args):\n return _almathswig...
[ "0.74908084", "0.74908084", "0.70355153", "0.70355153", "0.70131296", "0.70131296", "0.7000961", "0.7000961", "0.67814773", "0.67814773", "0.67431396", "0.67431396", "0.67393446", "0.67393446", "0.66112113", "0.66112113", "0.6487874", "0.6487874", "0.6467267", "0.6467267", "0...
0.7692195
0
__ne__(self, Transform pT2) > bool
def __ne__(self, *args): return _almathswig.Transform___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __ne__(self, matrix: 'itkMatrixF22') -> \"bool\":\n return _itkMatrixPython.itkMatrixF22___ne__(self, matrix)", "def __ne__(self, matrix: 'itkMatrixD22') -> \"bool\":\n return _itkMatrixPython.itkMatrixD22___ne__(self, matrix)", "def __ne__(self, matrix: 'itkMatrixF33') -> \"bool\":\n ...
[ "0.7497407", "0.7443692", "0.73682874", "0.7336297", "0.7333523", "0.73109674", "0.73064834", "0.7276023", "0.7260434", "0.7243811", "0.7242143", "0.72194153", "0.71988225", "0.71575004", "0.714622", "0.71395695", "0.7114634", "0.71141726", "0.70918894", "0.70735514", "0.7072...
0.7217767
12
fromRotX(float pRotX) > Transform
def fromRotX(*args): return _almathswig.Transform_fromRotX(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Transform_fromRotX(*args):\n return _almathswig.Transform_fromRotX(*args)", "def Transform_fromRotX(*args):\n return _almathswig.Transform_fromRotX(*args)", "def fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*args)", "def fromRotX(*args):\n return _almathswig.Rotation_fromRotX(*...
[ "0.8079921", "0.8079921", "0.7642073", "0.7642073", "0.7545941", "0.7545941", "0.74936867", "0.74936867", "0.7403755", "0.7403755", "0.64877725", "0.64877725", "0.636146", "0.636146", "0.62656826", "0.62656826", "0.62113833", "0.62113833", "0.61558664", "0.6114693", "0.611469...
0.7955019
2
distance(self, Transform pT2) > float
def distance(self, *args): return _almathswig.Transform_distance(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def distance(self, point2):\n diffx = self.abscisse - point2.abscisse\n diffy = self.ordonnee - point2.ordonnee\n return math.sqrt(diffx ** 2 + diffy ** 2)", "def distance(pt1, pt2):\n return (pt2[1] - pt1[1])**2 + (pt2[0] - pt1[0])**2", "def distance(p1, p2):\r\n return(float(ma...
[ "0.6721962", "0.67195874", "0.6700716", "0.6693726", "0.66645306", "0.66514325", "0.66020674", "0.65936327", "0.65765756", "0.64924127", "0.64532226", "0.6452296", "0.6452296", "0.6446453", "0.6441383", "0.64412427", "0.6436812", "0.6415978", "0.64086556", "0.6371345", "0.636...
0.64519256
13
Transform_fromRotZ(float pRotZ) > Transform
def Transform_fromRotZ(*args): return _almathswig.Transform_fromRotZ(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fromRotZ(*args):\n return _almathswig.Transform_fromRotZ(*args)", "def fromRotZ(*args):\n return _almathswig.Transform_fromRotZ(*args)", "def transformFromRotZ(*args):\n return _almathswig.transformFromRotZ(*args)", "def transformFromRotZ(*args):\n return _almathswig.transformFromRotZ(*ar...
[ "0.8019661", "0.8019661", "0.7659626", "0.7659626", "0.7324932", "0.7324932", "0.7294508", "0.7294508", "0.71486527", "0.71486527", "0.6330164", "0.6330164", "0.61294585", "0.61294585", "0.6104455", "0.6104455", "0.6078148", "0.6048684", "0.60433334", "0.60366315", "0.6036631...
0.8259311
0
transformFromRotZ(float pRotZ) > Transform
def transformFromRotZ(*args): return _almathswig.transformFromRotZ(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Transform_fromRotZ(*args):\n return _almathswig.Transform_fromRotZ(*args)", "def Transform_fromRotZ(*args):\n return _almathswig.Transform_fromRotZ(*args)", "def fromRotZ(*args):\n return _almathswig.Transform_fromRotZ(*args)", "def fromRotZ(*args):\n return _almathswig.Transform_fromRotZ...
[ "0.7994455", "0.7994455", "0.7648133", "0.7648133", "0.70107067", "0.70107067", "0.6945267", "0.6945267", "0.6876228", "0.6876228", "0.61855286", "0.61452484", "0.61068064", "0.61068064", "0.6087671", "0.6073787", "0.6073787", "0.6034473", "0.6034473", "0.59583074", "0.583402...
0.76809156
2
__add__(self, Velocity3D pVel2) > Velocity3D
def __add__(self, *args): return _almathswig.Velocity3D___add__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __iadd__(self, *args):\n return _almathswig.Velocity3D___iadd__(self, *args)", "def __iadd__(self, *args):\n return _almathswig.Velocity3D___iadd__(self, *args)", "def __eq__(self, *args):\n return _almathswig.Velocity3D___eq__(self, *args)", "def __eq__(self, *args):\n return...
[ "0.7070304", "0.7070304", "0.69807035", "0.69807035", "0.6692628", "0.6692628", "0.6347543", "0.6347543", "0.623502", "0.6226528", "0.61952436", "0.61952436", "0.61173666", "0.60964346", "0.60964346", "0.60466427", "0.60466427", "0.60420495", "0.60420495", "0.6036688", "0.603...
0.7323809
0
__iadd__(self, Velocity3D pVel2) > Velocity3D
def __iadd__(self, *args): return _almathswig.Velocity3D___iadd__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __add__(self, *args):\n return _almathswig.Velocity3D___add__(self, *args)", "def __add__(self, *args):\n return _almathswig.Velocity3D___add__(self, *args)", "def __isub__(self, *args):\n return _almathswig.Velocity3D___isub__(self, *args)", "def __isub__(self, *args):\n retu...
[ "0.7289028", "0.7289028", "0.683192", "0.683192", "0.6778349", "0.6778349", "0.66496176", "0.66496176", "0.65135133", "0.65135133", "0.6397703", "0.6397703", "0.6345811", "0.63033277", "0.6266539", "0.6266539", "0.62187856", "0.62187856", "0.61924857", "0.61924857", "0.614318...
0.7581092
0
__isub__(self, Velocity3D pVel2) > Velocity3D
def __isub__(self, *args): return _almathswig.Velocity3D___isub__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __eq__(self, *args):\n return _almathswig.Velocity3D___eq__(self, *args)", "def __eq__(self, *args):\n return _almathswig.Velocity3D___eq__(self, *args)", "def __isub__(self, *args):\n return _almathswig.Position3D___isub__(self, *args)", "def __isub__(self, *args):\n return _...
[ "0.7453722", "0.7453722", "0.6867211", "0.6867211", "0.66582054", "0.66582054", "0.65178657", "0.65178657", "0.638724", "0.638724", "0.63846385", "0.63846385", "0.63372076", "0.63372076", "0.6180503", "0.6087625", "0.6087625", "0.60829246", "0.60636246", "0.60636246", "0.6007...
0.81242615
0
__ne__(self, Velocity3D pVel2) > bool
def __ne__(self, *args): return _almathswig.Velocity3D___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __isub__(self, *args):\n return _almathswig.Velocity3D___isub__(self, *args)", "def __isub__(self, *args):\n return _almathswig.Velocity3D___isub__(self, *args)", "def __eq__(self, *args):\n return _almathswig.Velocity3D___eq__(self, *args)", "def __eq__(self, *args):\n return...
[ "0.7342316", "0.7342316", "0.7165806", "0.7165806", "0.7049245", "0.7049245", "0.6934779", "0.67457026", "0.67457026", "0.6483698", "0.63626724", "0.6335017", "0.6329213", "0.63200766", "0.63200766", "0.6316858", "0.6316858", "0.63004625", "0.63004625", "0.6292904", "0.625667...
0.78623194
0
__mul__(self, float pVal) > Velocity3D
def __mul__(self, *args): return _almathswig.Velocity3D___mul__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __imul__(self, *args):\n return _almathswig.Velocity3D___imul__(self, *args)", "def __imul__(self, *args):\n return _almathswig.Velocity3D___imul__(self, *args)", "def __mul__(self,v):\n\t\treturn self.x*v[0] + self.y*v[1] + self.z*v[2]", "def __mul__(self, *args):\n return _almathsw...
[ "0.68947387", "0.68947387", "0.67738885", "0.65354836", "0.65354836", "0.6489378", "0.6489378", "0.6409808", "0.6409808", "0.6333056", "0.6327013", "0.6327013", "0.62919927", "0.6275954", "0.62551576", "0.62551576", "0.62457657", "0.62004876", "0.61749375", "0.6172771", "0.61...
0.748979
0
__div__(self, float pVal) > Velocity3D
def __div__(self, *args): return _almathswig.Velocity3D___div__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __div__(self, *args):\n return _almathswig.Position3D___div__(self, *args)", "def __div__(self, *args):\n return _almathswig.Position3D___div__(self, *args)", "def __div__(self, *args):\n return _almathswig.Rotation3D___div__(self, *args)", "def __div__(self, *args):\n return ...
[ "0.7120251", "0.7120251", "0.66155696", "0.66155696", "0.65491205", "0.6520311", "0.6520311", "0.6472174", "0.63726896", "0.63726896", "0.63677424", "0.62487435", "0.6169007", "0.6123603", "0.61088926", "0.610384", "0.6051028", "0.60496646", "0.60261923", "0.60051924", "0.600...
0.78701115
0
__idiv__(self, float pVal) > Velocity3D
def __idiv__(self, *args): return _almathswig.Velocity3D___idiv__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __idiv__(self, *args):\n return _almathswig.Position3D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _almathswig.Position3D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _almathswig.Rotation3D___idiv__(self, *args)", "def __idiv__(self, *args):\n ...
[ "0.7213852", "0.7213852", "0.6864747", "0.6864747", "0.6819224", "0.6819224", "0.6668272", "0.66305214", "0.66305214", "0.66069245", "0.6529918", "0.6529918", "0.6489148", "0.6484166", "0.6484166", "0.6470453", "0.6458167", "0.6458167", "0.6434767", "0.6425039", "0.64191", ...
0.8073993
0
__rmul__(self, float lhs) > Velocity3D
def __rmul__(self, *args): return _almathswig.Velocity3D___rmul__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __neg__(self):\n return _almathswig.Velocity3D___neg__(self)", "def __rmul__(self, *args):\n return _almathswig.Position3D___rmul__(self, *args)", "def __rmul__(self, *args):\n return _almathswig.Position3D___rmul__(self, *args)", "def __rmul__(self, *args):\n return _almathsw...
[ "0.7126139", "0.6997547", "0.6997547", "0.67340624", "0.67340624", "0.6697396", "0.6697396", "0.6570814", "0.6570814", "0.6567569", "0.6567569", "0.65330637", "0.65330637", "0.65247416", "0.65247416", "0.6454513", "0.6454513", "0.63868517", "0.63868517", "0.6283576", "0.62835...
0.79050493
0
transformInverse(Transform pT, Transform pTOut) transformInverse(Transform pT) > Transform
def transformInverse(*args): return _almathswig.transformInverse(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def inverse_transform(transform):\n c = np.cos(transform[..., 2])\n s = np.sin(transform[..., 2])\n\n x = -transform[..., 0] * c - transform[..., 1] * s\n y = transform[..., 0] * s - transform[..., 1] * c\n t = normalize_angle(-transform[..., 2])\n\n if transform.ndim == 2...
[ "0.77148503", "0.7515831", "0.7480282", "0.74244964", "0.7377889", "0.7327832", "0.7201044", "0.71658784", "0.7129838", "0.7052528", "0.69940156", "0.6916396", "0.6904784", "0.68909544", "0.6890431", "0.68783075", "0.685447", "0.6837233", "0.67428714", "0.6719464", "0.6705972...
0.77783066
0
pinv(Pose2D pPos) > Pose2D pinv(Transform pT) > Transform
def pinv(*args): return _almathswig.pinv(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pose_inv(pose):\n R = pose[:3, :3]\n t = pose[:3, 3]\n\n inv_R = R.T\n inv_t = - np.dot(inv_R, t)\n\n inv_pose = np.c_[inv_R, np.transpose(inv_t)]\n inv_pose = np.r_[inv_pose, [[0, 0, 0, 1]]]\n\n return inv_pose", "def pose2DFromTransformInPlace(*args):\n return _almathswig.pose2DFromTr...
[ "0.7246132", "0.7202175", "0.7202175", "0.7195253", "0.7195253", "0.6979561", "0.6979561", "0.689632", "0.68237764", "0.68172354", "0.68172354", "0.6803944", "0.67942816", "0.67400515", "0.67400515", "0.67109275", "0.6652973", "0.6595436", "0.64890784", "0.63968104", "0.63768...
0.6851672
8
__ne__(self, Velocity6D pVel2) > bool
def __ne__(self, *args): return _almathswig.Velocity6D___ne__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __ne__(self, *args):\n return _almathswig.Velocity3D___ne__(self, *args)", "def __ne__(self, *args):\n return _almathswig.Velocity3D___ne__(self, *args)", "def __eq__(self, *args):\n return _almathswig.Velocity6D___eq__(self, *args)", "def __eq__(self, *args):\n return _almath...
[ "0.71433264", "0.71433264", "0.70845914", "0.70845914", "0.6923115", "0.6923115", "0.67949605", "0.67148817", "0.66425455", "0.66425455", "0.65826", "0.65826", "0.65625215", "0.6556838", "0.6528886", "0.6473537", "0.64668804", "0.64516294", "0.64285403", "0.64285403", "0.6418...
0.7949727
0
__imul__(self, float pVal) > Velocity6D
def __imul__(self, *args): return _almathswig.Velocity6D___imul__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __imul__(self, *args):\n return _almathswig.Position6D___imul__(self, *args)", "def __imul__(self, *args):\n return _almathswig.Position6D___imul__(self, *args)", "def __imul__(self, *args):\n return _almathswig.Velocity3D___imul__(self, *args)", "def __imul__(self, *args):\n ...
[ "0.71459526", "0.71459526", "0.71264476", "0.71264476", "0.6792021", "0.6792021", "0.6620797", "0.6620797", "0.63305545", "0.63305545", "0.6089046", "0.6052492", "0.6052492", "0.60022926", "0.60022926", "0.5977373", "0.5977373", "0.59582573", "0.59582573", "0.5954266", "0.593...
0.7957895
0
__idiv__(self, float pVal) > Velocity6D
def __idiv__(self, *args): return _almathswig.Velocity6D___idiv__(self, *args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __idiv__(self, *args):\n return _almathswig.Position6D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _almathswig.Position6D___idiv__(self, *args)", "def __idiv__(self, *args):\n return _almathswig.Velocity3D___idiv__(self, *args)", "def __idiv__(self, *args):\n ...
[ "0.7218896", "0.7218896", "0.6950268", "0.6950268", "0.6785856", "0.67553866", "0.6717208", "0.67076486", "0.6674271", "0.66434854", "0.6640771", "0.6597937", "0.6563182", "0.65508157", "0.6537434", "0.6533776", "0.6478009", "0.6470145", "0.64667624", "0.64358497", "0.6368267...
0.7984824
0
norm(Position2D pPos) > float norm(Position3D pPos) > float norm(Position6D pPos) > float norm(Quaternion pQua) > float norm(Rotation3D pRot) > float norm(Transform pT) > float norm(Velocity3D pVel) > float norm(Velocity6D pVel) > float
def norm(*args): return _almathswig.norm(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def norm(self):\n return _almathswig.Position3D_norm(self)", "def norm(self):\n return _almathswig.Velocity3D_norm(self)", "def norm(self):\n return _almathswig.Position6D_norm(self)", "def norm(self):\n return _almathswig.Velocity6D_norm(self)", "def norm(self):\n return...
[ "0.73810726", "0.71809673", "0.71296406", "0.6890081", "0.6773488", "0.67689764", "0.66739553", "0.6570753", "0.6471939", "0.64620453", "0.6366104", "0.63531744", "0.63506526", "0.63469154", "0.63411486", "0.632698", "0.6321475", "0.62755513", "0.62568945", "0.6248856", "0.62...
0.64022356
10
normalize(Position2D pPos) > Position2D normalize(Position3D pPos) > Position3D normalize(Position6D pPos) > Position6D normalize(Quaternion pQua) > Quaternion normalize(Velocity3D pVel) > Velocity3D normalize(Velocity6D pVel) > Velocity6D
def normalize(*args): return _almathswig.normalize(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def normalize(self):\n return _almathswig.Position3D_normalize(self)", "def normalize(self):\n return _almathswig.Velocity6D_normalize(self)", "def normalize(position):\r\n\tx, y, z = position\r\n\tx, y, z = (int(round(x)), int(round(y)), int(round(z)))\r\n\treturn (x, y, z)", "def normalize(se...
[ "0.66437453", "0.65498865", "0.6520712", "0.647807", "0.64684564", "0.64581656", "0.6437656", "0.6351216", "0.62387776", "0.60507363", "0.59456545", "0.59425324", "0.5860372", "0.58214307", "0.5818241", "0.57969", "0.5772557", "0.57693404", "0.5768455", "0.5742475", "0.573846...
0.6162849
9
areTwoBoxesInCollision(vectorPosition2D pBoxA, vectorPosition2D pBoxB) > bool
def areTwoBoxesInCollision(*args): return _almathswig.areTwoBoxesInCollision(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def check_intersection(box1: Box, box2: Box) -> bool:\n box_a = box1.get_bound_box_points()\n box_b = box2.get_bound_box_points()\n if box_b[0] <= box_a[0] <= box_b[1] or box_a[0] <= box_b[0] <= box_a[1]:\n if box_b[2] <= box_a[2] <= box_b[3] or box_a[2] <= box_b[2] <= box_a[3]:\n ...
[ "0.77534044", "0.74305916", "0.73763436", "0.72479534", "0.7173395", "0.7053344", "0.69470584", "0.692099", "0.68782187", "0.6833381", "0.68011653", "0.6784389", "0.6758653", "0.67510355", "0.6724636", "0.67096746", "0.6694329", "0.6679616", "0.66179", "0.6612581", "0.6600405...
0.84479123
0
velocityExponential(Velocity6D pVel) > Transform
def velocityExponential(*args): return _almathswig.velocityExponential(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def velocityExponentialInPlace(*args):\n return _almathswig.velocityExponentialInPlace(*args)", "def velocityExponentialInPlace(*args):\n return _almathswig.velocityExponentialInPlace(*args)", "def energy(self, v):\n e = -.5 * v @ self.T @ v \n return e", "def expmodel(r,vrot,rt):\n return vro...
[ "0.73771596", "0.73771596", "0.6049572", "0.5977672", "0.5947112", "0.5846144", "0.58321184", "0.5711078", "0.5711078", "0.56840646", "0.56528777", "0.56442904", "0.5630057", "0.5630057", "0.557868", "0.557868", "0.55359036", "0.5501819", "0.5501819", "0.5487381", "0.54721594...
0.76414764
0
transformFromRotationInPlace(Rotation pRotation, Transform pTransform)
def transformFromRotationInPlace(*args): return _almathswig.transformFromRotationInPlace(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rotationFromTransformInPlace(*args):\n return _almathswig.rotationFromTransformInPlace(*args)", "def rotationFromTransformInPlace(*args):\n return _almathswig.rotationFromTransformInPlace(*args)", "def transformFromRotation(*args):\n return _almathswig.transformFromRotation(*args)", "def transformFrom...
[ "0.7905833", "0.7905833", "0.7796731", "0.7796731", "0.7435003", "0.7370318", "0.7370318", "0.7065344", "0.7065344", "0.7018024", "0.7018024", "0.69302994", "0.69302994", "0.67701375", "0.6765776", "0.6765776", "0.6760777", "0.6760777", "0.6723543", "0.6723543", "0.67116475",...
0.8195999
0
transformFromRotation(Rotation pRotation) > Transform
def transformFromRotation(*args): return _almathswig.transformFromRotation(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rotationFromTransform(*args):\n return _almathswig.rotationFromTransform(*args)", "def rotationFromTransform(*args):\n return _almathswig.rotationFromTransform(*args)", "def transformFromRotationInPlace(*args):\n return _almathswig.transformFromRotationInPlace(*args)", "def transformFromRotationInPlac...
[ "0.7620498", "0.7620498", "0.72420925", "0.72420925", "0.71023357", "0.71023357", "0.703505", "0.703505", "0.702037", "0.702037", "0.70067465", "0.70064014", "0.69492245", "0.69492245", "0.6876243", "0.6751322", "0.6751322", "0.67241454", "0.67241454", "0.66985327", "0.669853...
0.7859961
0
rotationFromTransformInPlace(Transform pTransform, Rotation pRotation)
def rotationFromTransformInPlace(*args): return _almathswig.rotationFromTransformInPlace(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rotationFromTransform(*args):\n return _almathswig.rotationFromTransform(*args)", "def rotationFromTransform(*args):\n return _almathswig.rotationFromTransform(*args)", "def transformFromRotationInPlace(*args):\n return _almathswig.transformFromRotationInPlace(*args)", "def transformFromRotationInPlac...
[ "0.80422753", "0.80422753", "0.76384455", "0.76384455", "0.7290015", "0.7290015", "0.7229619", "0.7229619", "0.6795777", "0.6795777", "0.67864054", "0.67864054", "0.6733145", "0.6733145", "0.6690494", "0.66703856", "0.66703856", "0.6491605", "0.6491605", "0.6477029", "0.64170...
0.8426383
0
rotationFromTransform(Transform pTransform) > Rotation
def rotationFromTransform(*args): return _almathswig.rotationFromTransform(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rotationFromTransformInPlace(*args):\n return _almathswig.rotationFromTransformInPlace(*args)", "def rotationFromTransformInPlace(*args):\n return _almathswig.rotationFromTransformInPlace(*args)", "def rotation3DFromTransform(*args):\n return _almathswig.rotation3DFromTransform(*args)", "def rotation3...
[ "0.7626474", "0.7626474", "0.73962474", "0.73962474", "0.72601014", "0.72601014", "0.6847632", "0.66709983", "0.66709983", "0.66683096", "0.66683096", "0.6630808", "0.65877974", "0.65877974", "0.6587024", "0.65737087", "0.65737087", "0.65592444", "0.6520438", "0.6520438", "0....
0.8340032
0
position6DFromTransformDiffInPlace(Transform pCurrent, Transform pTarget, Position6D result)
def position6DFromTransformDiffInPlace(*args): return _almathswig.position6DFromTransformDiffInPlace(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def position6DFromTransformDiff(*args):\n return _almathswig.position6DFromTransformDiff(*args)", "def position6DFromTransformDiff(*args):\n return _almathswig.position6DFromTransformDiff(*args)", "def position6DFromTransformInPlace(*args):\n return _almathswig.position6DFromTransformInPlace(*args)", "def...
[ "0.78350556", "0.78350556", "0.7366962", "0.7366962", "0.713143", "0.713143", "0.64945924", "0.64945924", "0.64142835", "0.64142835", "0.62989014", "0.62989014", "0.609202", "0.609202", "0.60429776", "0.60429776", "0.602765", "0.602765", "0.59897363", "0.59897363", "0.5772950...
0.80719155
0
transformFromQuaternion(Quaternion pQua) > Transform
def transformFromQuaternion(*args): return _almathswig.transformFromQuaternion(*args)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fromQuaternion(*q):\n if(len(q) == 1):\n q = q[0]\n if isinstance(q, Quaternion):\n q = q.q # access member of Quaternion\n return Affine3(xform.quaternion_matrix(q))", "def quaternionFromTransform(*args):\n return _almathswig.quaternionFromTransform(*args)", "de...
[ "0.7970363", "0.76147634", "0.76147634", "0.7202126", "0.7202126", "0.7024701", "0.7024701", "0.6846339", "0.6846339", "0.67432255", "0.67432255", "0.6689325", "0.6689325", "0.65126514", "0.64616257", "0.6396328", "0.6394829", "0.6394829", "0.6361591", "0.62990004", "0.629423...
0.84444636
0